[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linux-image-orion5x: Please try to keep the number of flashes minimal



Package: linux-image-orion5x
Version: 2.6.26+17+lenny1
Severity: minor

I just did an upgrade (via aptitude) on my QNAP TS-209, and noticed that the kernel and initrd were flashed 3 times. Since flashing is somewhat dangerous (in that a mishap/power outage may leave the system unbootable) and causes wear on the hardware, I would appreciate it if superfluous writes could be eliminated.

[...]
Preparing to replace flash-kernel 2.11 (using .../flash-kernel_2.13_armel.deb) ...
Unpacking replacement flash-kernel ...
[...]
Preparing to replace linux-image-2.6-orion5x 2.6.26+17 (using .../linux-image-2.6-orion5x_2.6.26+17+lenny1_armel.deb) ...
Unpacking replacement linux-image-2.6-orion5x ...
[...]
Setting up linux-image-2.6.26-1-orion5x (2.6.26-13lenny2) ...

Hmm. The package shipped with a symbolic link /lib/modules/2.6.26-1-orion5x/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.26-1-orion5x/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.26-12 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.26-12 was configured last, according to dpkg)
Running postinst hook script flash-kernel.
Generating kernel u-boot image... done.
Flashing kernel... done.
Flashing initramfs... done.
Setting up linux-image-2.6.26-2-orion5x (2.6.26-15) ...

Hmm. The package shipped with a symbolic link /lib/modules/2.6.26-2-orion5x/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/2.6.26-2-orion5x/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Running postinst hook script flash-kernel.
Generating kernel u-boot image... done.
Flashing kernel... done.
Flashing initramfs... done.
[...]
Setting up flash-kernel (2.13) ...
[...]
Setting up linux-image-2.6-orion5x (2.6.26+17+lenny1) ...
[...]
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.26-2-orion5x
Generating kernel u-boot image... done.
Flashing kernel... done.
Flashing initramfs... done.


Reply to: