File tree 2 files changed +4
-3
lines changed
etc/grml/fai/config/hooks
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 13
13
# and can't skip instsoft.GRMLBASE we have to make sure
14
14
# we exit here as well
15
15
if [ -n " $BUILD_ONLY " ] ; then
16
- " Exiting hooks/instsoft.GRMLBASE as BUILD_ONLY environment is set."
16
+ echo " Exiting hooks/instsoft.GRMLBASE as BUILD_ONLY environment is set."
17
+ echo " W: This place was reached because updatebase.GRMLBASE failed."
17
18
exit 0
18
19
fi
19
20
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then
34
34
fi
35
35
# some packages must access /sys even in chroot environment
36
36
if ! [ -d $FAI_ROOT /sys/kernel ] ; then
37
- mount -t sysfs sysfs $FAI_ROOT /sys
37
+ mount -t sysfs sysfs $FAI_ROOT /sys || true
38
38
fi
39
39
# if we are using udev, also mount it into $FAI_ROOT
40
40
if [ -f /etc/init.d/udev ] ; then
41
41
mount --bind /dev $FAI_ROOT /dev || true
42
42
fi
43
43
44
44
if [ -d $FAI_ROOT /run ] ; then
45
- mount -t tmpfs tmpfs $FAI_ROOT /run
45
+ mount -t tmpfs tmpfs $FAI_ROOT /run || true
46
46
mkdir $FAI_ROOT /run/lock
47
47
fi
48
48
You can’t perform that action at this time.
0 commit comments