Forráskód Böngészése

* debian/apt.cron.daily:
- add apt-key net-update to the nightly cron job

Michael Vogt 18 éve
szülő
commit
2ce23a2ae5
2 módosított fájl, 5 hozzáadás és 0 törlés
  1. 3 0
      debian/apt.cron.daily
  2. 2 0
      debian/changelog

+ 3 - 0
debian/apt.cron.daily

@@ -182,6 +182,9 @@ fi
 
 
 UPDATE_STAMP=/var/lib/apt/periodic/update-stamp
 UPDATE_STAMP=/var/lib/apt/periodic/update-stamp
 if check_stamp $UPDATE_STAMP $UpdateInterval; then
 if check_stamp $UPDATE_STAMP $UpdateInterval; then
+    # check for a new archive signing key (against the master keyring)
+    apt-key net-update
+    # now run the update
     if apt-get -qq update -o APT::Update::Auth-Failure::="cp /usr/share/apt/apt-auth-failure.note /var/lib/update-notifier/user.d/" 2>/dev/null; then 
     if apt-get -qq update -o APT::Update::Auth-Failure::="cp /usr/share/apt/apt-auth-failure.note /var/lib/update-notifier/user.d/" 2>/dev/null; then 
 	# Could possible test access to '/var/run/dbus/system_bus_socket' has well,
 	# Could possible test access to '/var/run/dbus/system_bus_socket' has well,
 	# but I'm not sure how stable the internal pipe location is defined as
 	# but I'm not sure how stable the internal pipe location is defined as

+ 2 - 0
debian/changelog

@@ -5,6 +5,8 @@ apt (0.7.9ubuntu10) hardy; urgency=low
       ubuntu-archive-keyring.gpg and add keys from it that are 
       ubuntu-archive-keyring.gpg and add keys from it that are 
       signed by the ubuntu-master-keyring.gpg 
       signed by the ubuntu-master-keyring.gpg 
       (apt-archive-key-signatures spec)
       (apt-archive-key-signatures spec)
+  * debian/apt.cron.daily:
+    - add apt-key net-update to the nightly cron job
 
 
  --
  --