projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add bind-mount for /etc/adjtime to make subhost use host clock without ado
[rrq/overlay-boot.git]
/
overlay-postmount
diff --git
a/overlay-postmount
b/overlay-postmount
index e8f32ac7e44010bbf5248ca6ac2c9a4c2d11afec..a8080549c6e1db16dd607af1fcf56465e22c00f2 100755
(executable)
--- a/
overlay-postmount
+++ b/
overlay-postmount
@@
-37,5
+37,8
@@
if [ "$RAM_SIZE" != "none" ] ; then
mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
fi
mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs $LIVE/run
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