Skip to content

Commit

Permalink
dmsquash-live/apply-live-updates: Test proper file link.
Browse files Browse the repository at this point in the history
Update flag link to /dev/root as required by commit
789668d.
  • Loading branch information
FGrose authored and haraldh committed Sep 6, 2018
1 parent 44d1688 commit 8dd7bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90dmsquash-live/apply-live-updates.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/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..."
mount -o bind /run $NEWROOT/run
# avoid overwriting symlinks (e.g. /lib -> /usr/lib) with directories
Expand Down

0 comments on commit 8dd7bb4

Please sign in to comment.