kernel*: update to 2.6.28.7, disable debug, fix INSTALL.
An automated image is working now... --HG-- extra : convert_revision : 1b0b4f911fc69c1d8d54431ea0d8d5835e8bf57b
This commit is contained in:
@@ -13,14 +13,10 @@ pre)
|
||||
post)
|
||||
echo "Running $3-$4 post installation hooks..."
|
||||
if [ "$1" = "NOTSET" ]; then
|
||||
if $(mount|grep "^/proc" 2>&1 >/dev/null); then
|
||||
mntproc_cmd="mount -t proc proc /proc"
|
||||
umntproc_cmd="umount /proc"
|
||||
fi
|
||||
if $(mount|grep "^/sys" 2>&1 >/dev/null); then
|
||||
mntsys_cmd="mount -t sysfs none /sys"
|
||||
umntsys_cmd="umount /sys"
|
||||
fi
|
||||
mntproc_cmd="mount -t proc proc /proc"
|
||||
umntproc_cmd="umount /proc"
|
||||
mntsys_cmd="mount -t sysfs none /sys"
|
||||
umntsys_cmd="umount /sys"
|
||||
initramfs_cmd="update-initramfs"
|
||||
else
|
||||
mntproc_cmd="chroot $1 mount -t proc proc ./proc"
|
||||
|
||||
Reference in New Issue
Block a user