projects
/
rrq
/
overlay-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2c43b
)
Add bind-mount for /etc/adjtime to make subhost use host clock without ado
master
1.1
author
Ralph Ronnquist
<rrq@rrq.au>
Sun, 28 Jan 2024 22:11:06 +0000
(09:11 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Sun, 28 Jan 2024 22:11:06 +0000
(09:11 +1100)
overlay-postmount
patch
|
blob
|
history
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
-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