#11578 NORM Not Tri: bind mount /bootpart/boot to /boot to allow kernel rpms to be installed easily
Zarro Boogs per Child
bugtracker at laptop.org
Tue Jan 17 13:07:45 EST 2012
#11578: bind mount /bootpart/boot to /boot to allow kernel rpms to be installed
easily
-------------------------+--------------------------------------------------
Reporter: jnettlet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Not Triaged
Component: olpc-utils | Version: not specified
Keywords: | Next_action: never set
Verified: 0 | Deployment_affected:
Blockedby: | Blocking:
-------------------------+--------------------------------------------------
Currently our kernels are built to install the kernel and the initrd image
into /boot. We can do one of two things, change the kernel to install
things in /bootpart/boot or bind mount /bootpart/boot onto /boot.
{{{
diff --git a/usr/sbin/olpc-configure b/usr/sbin/olpc-configure
index f322837..c334a2e 100755
--- a/usr/sbin/olpc-configure
+++ b/usr/sbin/olpc-configure
@@ -107,6 +107,9 @@ mount_boot() {
esac
[[ -n "$bootdev" && -d "/bootpart" && -e "$bootdev" ]] || return
mount -o noatime "$bootdev" /bootpart
+ if [ -d "/boot" ]; then
+ mount --bind /bootpart/boot /boot
+ fi
}
mount_boot_1_0() {
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/11578>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list