mirror of
https://github.com/KDE/kde-linux.git
synced 2025-12-23 16:08:29 -05:00
build: put erofs output into a file and artifact it
This commit is contained in:
@@ -34,6 +34,11 @@ imaging:
|
||||
after_script:
|
||||
# Upload all images to Harald. You can grab them at http://images.kde-linux.haraldsitter.eu/
|
||||
- ./upload-to-harald.sh || true
|
||||
artifacts: &artifacts
|
||||
expire_in: 4 weeks
|
||||
when: always
|
||||
paths:
|
||||
- "**/erofs.log"
|
||||
|
||||
imaging+publish:
|
||||
stage: start
|
||||
@@ -55,3 +60,4 @@ imaging+publish:
|
||||
after_script:
|
||||
# Upload broken images to Harald for inspection
|
||||
- "[ $CI_JOB_STATUS == 'success' ] || ./upload-to-harald.sh || true"
|
||||
artifacts: *artifacts
|
||||
|
||||
2
build.sh
2
build.sh
@@ -163,7 +163,7 @@ cd .. # and back to root
|
||||
# Drop flatpak data from erofs. They are in the usr/share/factory and deployed from there.
|
||||
rm -rf "$OUTPUT/var/lib/flatpak"
|
||||
mkdir "$OUTPUT/var/lib/flatpak" # but keep a mountpoint around for the live session
|
||||
time mkfs.erofs -d0 -zzstd -C 65536 --chunksize 65536 -Efragments,ztailpacking "$ROOTFS_EROFS" "$OUTPUT" > /dev/null 2>&1
|
||||
time mkfs.erofs -d0 -zzstd -C 65536 --chunksize 65536 -Efragments,ztailpacking "$ROOTFS_EROFS" "$OUTPUT" > erofs.log 2>&1
|
||||
cp --reflink=auto "$ROOTFS_EROFS" kde-linux.cache/root.raw
|
||||
|
||||
# Now assemble the two generated images using systemd-repart and the definitions in mkosi.repart into $IMG.
|
||||
|
||||
Reference in New Issue
Block a user