dmsquash-live/apply-live-updates: Test proper file link.

Update flag link to /dev/root as required by commit
789668deb3.
master
Frederick Grose 2018-09-03 19:41:58 -04:00 committed by Harald Hoyer
parent 44d1688164
commit 8dd7bb48fc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh


if [ -L /run/rootfsbase ] && [ -d /run/initramfs/live/updates -o -d /updates ]; then if [ -h /dev/root ] && [ -d /run/initramfs/live/updates -o -d /updates ]; then
info "Applying updates to live image..." info "Applying updates to live image..."
mount -o bind /run $NEWROOT/run mount -o bind /run $NEWROOT/run
# avoid overwriting symlinks (e.g. /lib -> /usr/lib) with directories # avoid overwriting symlinks (e.g. /lib -> /usr/lib) with directories