]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- mount /boot (see -devel-en ml for more information)
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 4 Jan 2005 12:40:35 +0000 (12:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel.spec -> 1.648

kernel.spec

index a4bf0121f265fddcee060c87ba240c4ea2b03202..56e64fc5dcc8a86656b2f89d6e4b9a55d28703c0 100644 (file)
@@ -873,6 +873,13 @@ rm -rf $RPM_BUILD_ROOT
 %preun
 rm -f /lib/modules/%{version}-%{release}/modules.*
 
+%pre
+# on target system the /boot might not be mounted (it's not required for system
+# to run properly), it could be also mounted ro
+mount /boot >/dev/null 2>&1
+mount /boot -o remount,rw >/dev/null 2>&1
+exit 0
+
 %post
 %ifarch ia64
 mv -f /boot/efi/vmlinuz /boot/efi/vmlinuz.old 2> /dev/null > /dev/null
This page took 0.073509 seconds and 4 git commands to generate.