summaryrefslogtreecommitdiffstats
path: root/qt-ostree
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ostree')
-rwxr-xr-xqt-ostree/qt-ostree6
1 files changed, 5 insertions, 1 deletions
diff --git a/qt-ostree/qt-ostree b/qt-ostree/qt-ostree
index 6a702f9..50a5772 100755
--- a/qt-ostree/qt-ostree
+++ b/qt-ostree/qt-ostree
@@ -598,7 +598,11 @@ populate_filesystem_images()
mkdir recovery-dd
mount recovery.${RECOVERYFS_TYPE} recovery-dd/
cp ${BOOT_FILE_PATH}/* recovery-dd/
- chattr -R +i recovery-dd/
+ cd recovery-dd
+ ln -s initramfs-* initramfs
+ ln -s vmlinuz-* vmlinuz
+ cd -
+ chattr -R -f +i recovery-dd/ || /bin/true
fi
# When mounting a loopback, the kernel doesn't know that the backing device