diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2016-05-03 15:06:26 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2016-05-04 10:06:04 +0000 |
commit | 88f56708c792dcd528341b2c973a5bd759a179e3 (patch) | |
tree | d22d440dac035e4fe0614b68db8078a618b92e08 /qt-ostree | |
parent | c330af9ab2ac888689b08077b0d3012a43792a8d (diff) |
Create links in recovery partition
Change-Id: I6bd184b8502d89b310ec646dbca4d2fe925848bf
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
Diffstat (limited to 'qt-ostree')
-rwxr-xr-x | qt-ostree/qt-ostree | 6 |
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 |