File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed
mkosi.profiles/build-systemd Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,20 @@ jobs:
4747 run : find out/ -type l -delete
4848 - name : Sign artifacts
4949 run : for file in out/* ; do cosign sign-blob -d -y --bundle "${file}.sigbundle" "${file}"; done
50- - name : Upload build artifact
51- id : upload
50+ - name : Upload tools artifact
51+ id : upload-tools
5252 uses : actions/upload-artifact@v4
5353 with :
54- path : out/*
54+ path : out/mangos.tools *
5555 compression-level : 0
5656 name : mangos.tools
57+ - name : Upload package artifact
58+ id : upload-pkgs
59+ uses : actions/upload-artifact@v4
60+ with :
61+ path : out/mangos-packages*
62+ compression-level : 0
63+ name : mangos.packages
5764 - name : Release
5865 if : github.ref_type == 'tag'
5966 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change 22VolatilePackages=systemd
33SyncScripts=%C/systemd.sync
44BuildScripts=%C/systemd.build.chroot
5+ PostInstallationScripts=%C/systemd.postinst
56BuildPackages=build-essential
67 dpkg-dev
78 debhelper-compat
Original file line number Diff line number Diff line change @@ -3,4 +3,9 @@ cd ${BUILDDIR}
33dpkg-source -x ${SRCDIR} /pkg/systemd/systemd_258.1-1.dsc
44cd systemd-258.1
55dpkg-buildpackage -us -uc -b
6- mv ../* .deb ${PACKAGEDIR} /
6+ cd ..
7+ tarball=mangos-packages_${IMAGE_VERSION} .tar
8+ tar cf ${tarball} * .{deb,ddeb}
9+ zstd --rm ${tarball}
10+ mv ${tarball} .zst ${ARTIFACTDIR} /
11+ mv * .deb ${PACKAGEDIR} /
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ tarball=mangos-packages_${IMAGE_VERSION} .tar.zst
3+ mv ${ARTIFACTDIR} /${tarball} ${OUTPUTDIR} /
You can’t perform that action at this time.
0 commit comments