projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change service name
[rrq/overlay-boot.git]
/
overlay-postmount
diff --git
a/overlay-postmount
b/overlay-postmount
index e8f32ac7e44010bbf5248ca6ac2c9a4c2d11afec..756ba1753b5f6d6316ce2b401d7f2a04cf1feb13 100755
(executable)
--- a/
overlay-postmount
+++ b/
overlay-postmount
@@
-35,7
+35,12
@@
mount -t devpts devpts $LIVE/dev/pts
mount -t sysfs sysfs $LIVE/sys
if [ "$RAM_SIZE" != "none" ] ; then
mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
mount -t sysfs sysfs $LIVE/sys
if [ "$RAM_SIZE" != "none" ] ; then
mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
+ mkdir $LIVE/run/lock
+ cmod 1777 $LIVE/run/lock
fi
fi
-echo "Installing $OVERLAYDIR/reaper to $LIVE/.reaper"
+echo "bind-mount /etc/adjtime into subhost, if possible"
+mount --bind /etc/adjtime $LIVE/etc/adjtime || true
+
+echo "install $OVERLAYDIR/reaper to $LIVE/.reaper"
cp -p $OVERLAYDIR/reaper $LIVE/.reaper
cp -p $OVERLAYDIR/reaper $LIVE/.reaper