Skip to content

Commit

Permalink
fix(dmsquash-live): restore compatibility with earlier releases
Browse files Browse the repository at this point in the history
Follow-up to 40dd5c9 .
  • Loading branch information
LaszloGombos authored and aafeijoo-suse committed Feb 28, 2023
1 parent 1ddcb13 commit 0e78072
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules.d/90dmsquash-live/dmsquash-live-root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,10 @@ fi

ROOTFLAGS="$(getarg rootflags)"

if [ "$overlayfs" = required ]; then
echo "rd.live.overlay.overlayfs=1" > /etc/cmdline.d/dmsquash-need-overlay.conf
fi

if [ -n "$overlayfs" ]; then
if [ -n "$FSIMG" ]; then
mkdir -m 0755 -p /run/rootfsbase
Expand Down

0 comments on commit 0e78072

Please sign in to comment.