remounting messages
This commit is contained in:
parent
51b837be2a
commit
ebb7d974d3
|
@ -49,6 +49,7 @@ FALSE_LIST=(FALSE False false NO No no 0)
|
||||||
if [ 0 -eq $STAGE ]; then
|
if [ 0 -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: remounting file systems ro->rw ======="
|
echo "======= STAGE $STAGE: remounting file systems ro->rw ======="
|
||||||
for fs in $RW_REMOUNT; do
|
for fs in $RW_REMOUNT; do
|
||||||
|
echo "remounting $fs -> rw"
|
||||||
mount -o remount,rw $fs
|
mount -o remount,rw $fs
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,rw $fs failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,rw $fs failed ;-( =======" && exit $STAGE
|
||||||
done
|
done
|
||||||
|
@ -435,6 +436,7 @@ fi
|
||||||
if [ 20 -eq $STAGE ]; then
|
if [ 20 -eq $STAGE ]; then
|
||||||
echo "======= STAGE $STAGE: remounting file systems rw->ro ======="
|
echo "======= STAGE $STAGE: remounting file systems rw->ro ======="
|
||||||
for fs in $RO_REMOUNT; do
|
for fs in $RO_REMOUNT; do
|
||||||
|
echo "remounting $fs -> ro"
|
||||||
mount -f -o remount,ro $fs
|
mount -f -o remount,ro $fs
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,ro $fs failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: mount -o remount,ro $fs failed ;-( =======" && exit $STAGE
|
||||||
done
|
done
|
||||||
|
|
|
@ -54,6 +54,7 @@ else
|
||||||
[ 0 -ne $? ] && echo "Kernel build failed ;-(" && exit -1
|
[ 0 -ne $? ] && echo "Kernel build failed ;-(" && exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "remounting /boot -> rw"
|
||||||
mount -o remount,rw /boot
|
mount -o remount,rw /boot
|
||||||
|
|
||||||
$NICE_CMD make install
|
$NICE_CMD make install
|
||||||
|
@ -67,6 +68,7 @@ sed -i "s~\/boot\/vmlinuz-[0-9][^ ]*~\/boot\/vmlinuz-$REVISION~g;
|
||||||
s~\/boot\/initramfs-[0-9][^ ]*~\/boot\/initramfs-$REVISION.img~g" \
|
s~\/boot\/initramfs-[0-9][^ ]*~\/boot\/initramfs-$REVISION.img~g" \
|
||||||
/boot/grub/grub.conf
|
/boot/grub/grub.conf
|
||||||
|
|
||||||
|
echo "remounting /boot -> ro"
|
||||||
mount -o remount,ro /boot
|
mount -o remount,ro /boot
|
||||||
|
|
||||||
echo "--------- Rebuilding kernel modules ---------"
|
echo "--------- Rebuilding kernel modules ---------"
|
||||||
|
|
Loading…
Reference in New Issue