Create link for wormhole-william to wormhole

This commit is contained in:
Storm Dragon 2020-04-02 16:16:28 -04:00
parent 6aa9d0d94f
commit ec343fb59b

View File

@ -260,6 +260,11 @@ systemd-nspawn -a -q -D $workdir/root\
sudo -u \#1000\ sudo -u \#1000\
bash -c "touch \$HOME/.firstboot" bash -c "touch \$HOME/.firstboot"
# Link wormhole-william to wormhole so that it works as a drop-in replacement for magic-wormhole.
systemd-nspawn -a -q -D $workdir/root\
sudo -u \#1000\
ln /usr/bin/wormhole-william /usr/bin/wormhole
# Write a system timestamp. # Write a system timestamp.
# This timestamp will determine which incremental updates apply to this image # This timestamp will determine which incremental updates apply to this image
echo "$(date +%y%m%d%H%M)" > $workdir/root/etc/timestamp-stormux echo "$(date +%y%m%d%H%M)" > $workdir/root/etc/timestamp-stormux