On 10/22/2012 06:04 PM, Felix Miata wrote:
I just did a zypper up on a 12.2 system last updated 29 Aug, with kernel-desktop locked. Package count was 142. Afterward I unlocked kernel-desktop, then did zypper dup. I monitored the up process, creating initrd backups every time new initrd creation appeared onscreen. The following is the result:
-rw-r--r-- 1 root root 5207254 Jun 30 16:55 i0nitrd-3.4.2-1-desktop1 -rw-r--r-- 1 root root 5272345 Aug 29 11:56 i0nitrd-3.4.2-1-desktop2 -rw-r--r-- 1 root root 5275931 Oct 22 11:38 i0nitrd-3.4.2-1-desktop3 -rw-r--r-- 1 root root 5275985 Oct 22 11:42 i0nitrd-3.4.2-1-desktop4 -rw-r--r-- 1 root root 5275953 Oct 22 11:43 i0nitrd-3.4.2-1-desktop5 -rw-r--r-- 1 root root 5275956 Oct 22 11:50 i0nitrd-3.4.2-1-desktop6 -rw-r--r-- 1 root root 5272072 Aug 29 12:50 i0nitrd-3.4.6-1.1-desktop1 -rw-r--r-- 1 root root 5276071 Oct 22 11:38 i0nitrd-3.4.6-1.1-desktop2 -rw-r--r-- 1 root root 5276013 Oct 22 11:41 i0nitrd-3.4.6-1.1-desktop3 -rw-r--r-- 1 root root 5276025 Oct 22 11:44 i0nitrd-3.4.6-1.1-desktop4 -rw-r--r-- 1 root root 5276074 Oct 22 11:51 i0nitrd-3.4.6-1.1-desktop5 lrwxrwxrwx 1 root root 26 Oct 22 11:56 initrd -> initrd-3.4.11-2.16-desktop -rw-r--r-- 1 root root 5276261 Oct 22 11:56 initrd-3.4.11-2.16-desktop -rw-r--r-- 1 root root 5275956 Oct 22 11:50 initrd-3.4.2-1-desktop -rw-r--r-- 1 root root 5276074 Oct 22 11:51 initrd-3.4.6-1.1-desktop lrwxrwxrwx 1 root root 24 Aug 29 12:50 initrd-curr -> initrd-3.4.6-1.1-desktop lrwxrwxrwx 1 root root 22 Jun 30 16:55 initrd-prev -> initrd-3.4.2-1-desktop
On slow systems this really extends the update process noticeably. Could it be streamlined so that initrds only get built a maximum of once per up/dup run?
We might need transaction support and merging of those in rpm. But let's first figure out *why* those are updated. Could you check your /var/log/zypp logfiles to see which packages triggered those? Perhaps some of the triggers could be changed. Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org