From 4bccb766740f5a09dbac2f71939f2c8fe9a151fc Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 25 Jun 2016 19:27:30 +0300 Subject: [PATCH] Kernel packaging: do not remove initrd images on upgrade --- .../packaging-3.14-DEFAULT-with-postinstall-scripts.patch | 2 +- .../cubox-dev/packaging-3.14-DEV-with-postinstall-scripts.patch | 2 +- .../packaging-4.x-NEXT-with-postinstall-scripts.patch | 2 +- .../packaging-3.10-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-4.x-NEXT-with-postinstall-scripts.patch | 2 +- .../packaging-3.14-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.10-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.14-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.10-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-4.x-NEXT-with-postinstall-scripts.patch | 2 +- .../packaging-3.10-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.10-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch | 2 +- .../packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch | 2 +- .../sun8i-dev/packaging-4.x-DEV-with-postinstall-scripts.patch | 2 +- .../packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch | 2 +- .../sunxi-dev/packaging-4.x-DEV-with-postinstall-scripts.patch | 2 +- .../packaging-4.x-NEXT-with-postinstall-scripts.patch | 2 +- .../packaging-3.14-DEFAULT-with-postinstall-scripts.patch | 2 +- .../udoo-next/packaging-4.x-NEXT-with-postinstall-scripts.patch | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/patch/kernel/cubox-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/cubox-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch index e36e86e85..49c8bdc8d 100644 --- a/patch/kernel/cubox-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/cubox-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch @@ -186,7 +186,7 @@ index 152d4d2..9b30ad2 100644 + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/cubox-dev/packaging-3.14-DEV-with-postinstall-scripts.patch b/patch/kernel/cubox-dev/packaging-3.14-DEV-with-postinstall-scripts.patch index 9b4e0603f..1bcb55dde 100644 --- a/patch/kernel/cubox-dev/packaging-3.14-DEV-with-postinstall-scripts.patch +++ b/patch/kernel/cubox-dev/packaging-3.14-DEV-with-postinstall-scripts.patch @@ -186,7 +186,7 @@ index 152d4d2..9b30ad2 100644 + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/cubox-next/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/cubox-next/packaging-4.x-NEXT-with-postinstall-scripts.patch index fb4868b37..91c2faad2 100644 --- a/patch/kernel/cubox-next/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/cubox-next/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -139,7 +139,7 @@ index 6c3b038..cc9b3c0 100755 +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then +umount /boot; -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/marvell-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/marvell-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 03ee0758f..8daa95047 100644 --- a/patch/kernel/marvell-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/marvell-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -245,7 +245,7 @@ index 3001ec5..dc76d3c + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/marvell-next/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/marvell-next/packaging-4.x-NEXT-with-postinstall-scripts.patch index fb4868b37..91c2faad2 100644 --- a/patch/kernel/marvell-next/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/marvell-next/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -139,7 +139,7 @@ index 6c3b038..cc9b3c0 100755 +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then +umount /boot; -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/neo-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/neo-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch index e36e86e85..49c8bdc8d 100644 --- a/patch/kernel/neo-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/neo-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch @@ -186,7 +186,7 @@ index 152d4d2..9b30ad2 100644 + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 03ee0758f..8daa95047 100644 --- a/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidc1-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -245,7 +245,7 @@ index 3001ec5..dc76d3c + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/odroidc2-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/odroidc2-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch index a5ecfb450..0e9618ef9 100644 --- a/patch/kernel/odroidc2-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidc2-default/packaging-3.14-DEFAULT-with-postinstall-scripts.patch @@ -201,7 +201,7 @@ index 152d4d2..a2fa373 100644 + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/odroidxu4-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/odroidxu4-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 03ee0758f..8daa95047 100644 --- a/patch/kernel/odroidxu4-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidxu4-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -245,7 +245,7 @@ index 3001ec5..dc76d3c + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch b/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch index fb4868b37..91c2faad2 100644 --- a/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch +++ b/patch/kernel/odroidxu4-next/packaging-4.x-NEXT-with-postinstall-scripts.patch @@ -139,7 +139,7 @@ index 6c3b038..cc9b3c0 100755 +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then +umount /boot; -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 8360240a1..10cdd19b7 100644 --- a/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/pine64-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -229,7 +229,7 @@ index 3001ec5..04a6afb + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image* /boot/initrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/Image* +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch index 03ee0758f..8daa95047 100644 --- a/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/s500-default/packaging-3.10-DEFAULT-with-postinstall-scripts.patch @@ -245,7 +245,7 @@ index 3001ec5..dc76d3c + +bootfstype=\$(blkid -s TYPE -o value \$boot_partition) +if [ "\$bootfstype" = "vfat" ]; then -+rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage /boot/*nitrd* ++rm -f /boot/System.map* /boot/config* /boot/vmlinuz* /boot/zImage /boot/uImage +fi +} +mountpoint -q /boot && check_and_unmount diff --git a/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch b/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch index 767838d7a..e485998e0 100644 --- a/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch +++ b/patch/kernel/sun4i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch @@ -218,7 +218,7 @@ index ed7ccdc..bf30624 100644 +cat >> $tmpdir/DEBIAN/preinst <> $tmpdir/DEBIAN/preinst <> $tmpdir/DEBIAN/preinst <> $tmpdir/DEBIAN/preinst <> $tmpdir/DEBIAN/preinst <