Skip to content

Commit a8c54a8

Browse files
authored
Merge pull request #8 from sorenisanerd/main
mangos-packages -> mangos.packages
2 parents a5f4304 + 8487690 commit a8c54a8

File tree

8 files changed

+111
-25
lines changed

8 files changed

+111
-25
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Copy cosign into place
4343
run: cp $HOME/.cosign/cosign .
4444
- name: Run mkosi
45-
run: mkosi --debug
45+
run: mkosi --debug --profile=build-systemd
4646
- name: Remove symlinks
4747
run: find out/ -type l -delete
4848
- name: Sign artifacts
@@ -58,7 +58,7 @@ jobs:
5858
id: upload-pkgs
5959
uses: actions/upload-artifact@v4
6060
with:
61-
path: out/mangos-packages*
61+
path: out/mangos.packages*
6262
compression-level: 0
6363
name: mangos.packages
6464
- name: Release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/.cache
22
/out
33
/mkosi.tools
4+
/mkosi.packages
45
/cosign
56
/syft
67
/syft*.tar.gz

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ mkosi.tools:
2424
rm -rf mkosi.tools
2525
version="$$(mkosi summary --json | jq .Images[0].ImageVersion -r)"; mkdir mkosi.tools ; tar -xf out/mangos.tools_$${version}.tar.zst --zstd -C mkosi.tools
2626

27-
.PHONY: mkosi.tools
27+
mkosi.packages:
28+
version="$$(mkosi summary --json | jq .Images[0].ImageVersion -r)"; mkdir mkosi.packages ; tar -xf out/mangos.packages_$${version}.tar.zst --zstd -C mkosi.packages
29+
30+
.PHONY: mkosi.tools mkosi.packages

mkosi.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Config]
2-
Profiles=debug,misc,package-manager,runtime,cosign,syft,build-systemd
2+
Profiles=debug,misc,package-manager,runtime,cosign,syft
33

44
[Include]
55
Include=mkosi-tools

mkosi.profiles/build-systemd/systemd.build.chroot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
set -e
44

55
cd ${BUILDDIR}
6-
dpkg-source -x ${SRCDIR}/pkg/systemd/systemd_258.1-1.dsc
6+
dpkg-source -x ${SRCDIR}/pkg/systemd/systemd_258.1-2.dsc
77
cd systemd-258.1
88
patch -p1 < ${SRCDIR}/mkosi.profiles/build-systemd/sysupdated.patch
99
dpkg-buildpackage -us -uc -b
1010
cd ..
11-
tarball=mangos-packages_${IMAGE_VERSION}.tar
11+
tarball=mangos.packages_${IMAGE_VERSION}.tar
1212
tar cf ${tarball} *.{deb,ddeb}
1313
zstd --rm ${tarball}
1414
mv ${tarball}.zst ${ARTIFACTDIR}/
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
2-
tarball=mangos-packages_${IMAGE_VERSION}.tar.zst
2+
tarball=mangos.packages_${IMAGE_VERSION}.tar.zst
33
mv ${ARTIFACTDIR}/${tarball} ${OUTPUTDIR}/

mkosi.profiles/build-systemd/systemd.sync

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
pkg=${SRCDIR}/pkg/systemd
33
mkdir -p "$pkg"
44
cd "$pkg"
5-
for url in http://deb.debian.org/debian/pool/main/s/systemd/systemd_258.1{-1.dsc,.orig.tar.gz,-1.debian.tar.xz}; do
5+
for url in http://ftp.debian.org/debian/pool/main/s/systemd/systemd_258.1{-2{.dsc,.debian.tar.xz},.orig.tar.gz}; do
66
test -f "$(basename "$url")" || wget -O "$(basename "$url")" "$url"
77
done

mkosi.profiles/build-systemd/sysupdated.patch

Lines changed: 99 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
diff -ur systemd-258.1.orig/debian/changelog systemd-258.1/debian/changelog
2-
--- systemd-258.1.orig/debian/changelog 2025-10-23 11:20:37.535291463 -0700
3-
+++ systemd-258.1/debian/changelog 2025-10-23 11:24:31.060180155 -0700
1+
diff -urNw systemd-258.1.orig/debian/changelog systemd-258.1/debian/changelog
2+
--- systemd-258.1.orig/debian/changelog 2025-10-27 06:06:14.000000000 -0700
3+
+++ systemd-258.1/debian/changelog 2025-11-05 14:59:50.450027607 -0800
44
@@ -1,3 +1,9 @@
5-
+systemd (258.1-1mangos1) unstable; urgency=medium
5+
+systemd (258.1-2mangos1) unstable; urgency=medium
66
+
77
+ * Enable sysupdated.
88
+
99
+ -- Soren Hansen <[email protected]> Thu, 23 Oct 2025 11:23:25 -0700
1010
+
11-
systemd (258.1-1) unstable; urgency=medium
11+
systemd (258.1-2) unstable; urgency=medium
1212

13-
* Override Lintian warning for groff-message. These manpages are
14-
diff -ur systemd-258.1.orig/debian/rules systemd-258.1/debian/rules
15-
--- systemd-258.1.orig/debian/rules 2025-10-23 11:20:37.536878900 -0700
16-
+++ systemd-258.1/debian/rules 2025-10-23 11:21:25.473318469 -0700
13+
[ Luca Boccassi ]
14+
diff -urNw systemd-258.1.orig/debian/rules systemd-258.1/debian/rules
15+
--- systemd-258.1.orig/debian/rules 2025-10-22 09:35:40.000000000 -0700
16+
+++ systemd-258.1/debian/rules 2025-11-05 15:00:48.476676601 -0800
1717
@@ -149,7 +149,8 @@
1818
-Dpcre2=enabled \
1919
-Dukify=enabled \
@@ -34,9 +34,9 @@ diff -ur systemd-258.1.orig/debian/rules systemd-258.1/debian/rules
3434
endif
3535

3636
# BPF/BTF are only enabled and usable on a few architectures
37-
diff -ur systemd-258.1.orig/debian/systemd-container.install systemd-258.1/debian/systemd-container.install
38-
--- systemd-258.1.orig/debian/systemd-container.install 2025-10-23 11:20:37.537158893 -0700
39-
+++ systemd-258.1/debian/systemd-container.install 2025-10-23 11:55:01.302259102 -0700
37+
diff -urNw systemd-258.1.orig/debian/systemd-container.install systemd-258.1/debian/systemd-container.install
38+
--- systemd-258.1.orig/debian/systemd-container.install 2025-10-22 09:35:41.000000000 -0700
39+
+++ systemd-258.1/debian/systemd-container.install 2025-11-05 15:00:48.476812175 -0800
4040
@@ -1,6 +1,6 @@
4141
#!/usr/bin/dh-exec
4242
usr/bin/importctl
@@ -53,8 +53,8 @@ diff -ur systemd-258.1.orig/debian/systemd-container.install systemd-258.1/debia
5353
+usr/lib/systemd/system/dbus-org.freedesktop.sysupdate1.service
5454
usr/lib/systemd/user/machine.slice
5555
usr/lib/systemd/user/machines.target
56-
<pkg.systemd.upstream> usr/lib/systemd/user/dbus-org.freedesktop.machine1.service
57-
@@ -52,17 +52,17 @@
56+
<pkg.systemd.upstream> usr/lib/systemd/user/dbus-org.freedesktop.import1.service
57+
@@ -57,17 +57,17 @@
5858
usr/share/dbus-1/system.d/org.freedesktop.import1.conf
5959
usr/share/dbus-1/system.d/org.freedesktop.machine1.conf
6060
usr/share/dbus-1/system.d/org.freedesktop.portable1.conf
@@ -75,9 +75,91 @@ diff -ur systemd-258.1.orig/debian/systemd-container.install systemd-258.1/debia
7575
usr/share/zsh/vendor-completions/_systemd-nspawn
7676
usr/share/zsh/vendor-completions/_sd_machines
7777
usr/share/zsh/vendor-completions/_machinectl
78-
diff -ur systemd-258.1.orig/debian/systemd-container.manpages systemd-258.1/debian/systemd-container.manpages
79-
--- systemd-258.1.orig/debian/systemd-container.manpages 2025-10-23 11:20:37.537177719 -0700
80-
+++ systemd-258.1/debian/systemd-container.manpages 2025-10-23 11:54:36.741335543 -0700
78+
diff -urNw systemd-258.1.orig/debian/systemd-container.install.orig systemd-258.1/debian/systemd-container.install.orig
79+
--- systemd-258.1.orig/debian/systemd-container.install.orig 1969-12-31 16:00:00.000000000 -0800
80+
+++ systemd-258.1/debian/systemd-container.install.orig 2025-10-22 09:35:41.000000000 -0700
81+
@@ -0,0 +1,78 @@
82+
+#!/usr/bin/dh-exec
83+
+usr/bin/importctl
84+
+<pkg.systemd.upstream> usr/bin/updatectl
85+
+usr/bin/systemd-vmspawn
86+
+usr/lib/systemd/system/[email protected]
87+
+usr/bin/machinectl
88+
+usr/bin/portablectl
89+
+usr/lib/systemd/import-pubring.*
90+
+usr/lib/systemd/network/80-namespace-ns*
91+
+usr/lib/systemd/portable
92+
+usr/lib/systemd/systemd-machined
93+
+usr/lib/systemd/systemd-export
94+
+usr/lib/systemd/systemd-import*
95+
+usr/lib/systemd/systemd-mountfsd
96+
+usr/lib/systemd/systemd-mountwork
97+
+usr/lib/systemd/systemd-nsresourced
98+
+usr/lib/systemd/systemd-nsresourcework
99+
+usr/lib/systemd/systemd-portabled
100+
+usr/lib/systemd/systemd-pull
101+
+usr/lib/systemd/systemd-sysupdate*
102+
+usr/lib/systemd/system-generators/systemd-import-generator
103+
+usr/lib/systemd/system/sockets.target.wants/systemd-import*
104+
+usr/lib/systemd/system/[email protected]
105+
+usr/lib/systemd/system/systemd-import*
106+
+usr/lib/systemd/system/systemd-machined*
107+
+usr/lib/systemd/system/systemd-mountfsd*
108+
+usr/lib/systemd/system/systemd-nsresourced*
109+
+usr/lib/systemd/system/systemd-portabled.service
110+
+usr/lib/systemd/system/systemd-sysupdate*
111+
+usr/lib/systemd/system/var-lib-machines.mount
112+
+usr/lib/systemd/system/machines.target
113+
+usr/lib/systemd/system/*.target.wants/systemd-machined*
114+
+usr/lib/systemd/system/*.target.wants/var-lib-machines.mount
115+
+usr/lib/systemd/system/dbus-org.freedesktop.import1.service
116+
+usr/lib/systemd/system/dbus-org.freedesktop.machine1.service
117+
+usr/lib/systemd/system/dbus-org.freedesktop.portable1.service
118+
+<pkg.systemd.upstream> usr/lib/systemd/system/dbus-org.freedesktop.sysupdate1.service
119+
+usr/lib/systemd/user/machine.slice
120+
+usr/lib/systemd/user/machines.target
121+
+<pkg.systemd.upstream> usr/lib/systemd/user/dbus-org.freedesktop.import1.service
122+
+<pkg.systemd.upstream> usr/lib/systemd/user/dbus-org.freedesktop.machine1.service
123+
+<pkg.systemd.upstream> usr/lib/systemd/user/sockets.target.wants/systemd-importd.socket
124+
+<pkg.systemd.upstream> usr/lib/systemd/user/sockets.target.wants/systemd-machined.socket
125+
+<pkg.systemd.upstream> usr/lib/systemd/user/systemd-importd.service
126+
+<pkg.systemd.upstream> usr/lib/systemd/user/systemd-importd.socket
127+
+<pkg.systemd.upstream> usr/lib/systemd/user/systemd-machined.service
128+
+<pkg.systemd.upstream> usr/lib/systemd/user/systemd-machined.socket
129+
+usr/lib/systemd/user/[email protected]
130+
+usr/lib/systemd/user/[email protected]
131+
+usr/bin/systemd-dissect
132+
+usr/bin/systemd-nspawn
133+
+usr/lib/tmpfiles.d/portables.conf
134+
+usr/lib/tmpfiles.d/systemd-nspawn.conf
135+
+usr/sbin/mount.ddi
136+
+<pkg.systemd.upstream> usr/share/dbus-1/services/org.freedesktop.import1.service
137+
+<pkg.systemd.upstream> usr/share/dbus-1/services/org.freedesktop.machine1.service
138+
+usr/share/dbus-1/system.d/org.freedesktop.import1.conf
139+
+usr/share/dbus-1/system.d/org.freedesktop.machine1.conf
140+
+usr/share/dbus-1/system.d/org.freedesktop.portable1.conf
141+
+<pkg.systemd.upstream> usr/share/dbus-1/system.d/org.freedesktop.sysupdate1.conf
142+
+usr/share/dbus-1/system-services/org.freedesktop.import1.service
143+
+usr/share/dbus-1/system-services/org.freedesktop.machine1.service
144+
+usr/share/dbus-1/system-services/org.freedesktop.portable1.service
145+
+<pkg.systemd.upstream> usr/share/dbus-1/system-services/org.freedesktop.sysupdate1.service
146+
+usr/share/polkit-1/actions/io.systemd.mount-file-system.policy
147+
+usr/share/polkit-1/actions/io.systemd.namespace-resource.policy
148+
+usr/share/polkit-1/actions/org.freedesktop.import1.policy
149+
+usr/share/polkit-1/actions/org.freedesktop.machine1.policy
150+
+usr/share/polkit-1/actions/org.freedesktop.portable1.policy
151+
+<pkg.systemd.upstream> usr/share/polkit-1/actions/org.freedesktop.sysupdate1.policy
152+
+usr/share/zsh/vendor-completions/_systemd-nspawn
153+
+usr/share/zsh/vendor-completions/_sd_machines
154+
+usr/share/zsh/vendor-completions/_machinectl
155+
+usr/share/bash-completion/completions/machinectl
156+
+usr/share/bash-completion/completions/portablectl
157+
+usr/share/bash-completion/completions/systemd-nspawn
158+
+usr/share/bash-completion/completions/systemd-vmspawn
159+
+usr/share/bash-completion/completions/importctl
160+
diff -urNw systemd-258.1.orig/debian/systemd-container.manpages systemd-258.1/debian/systemd-container.manpages
161+
--- systemd-258.1.orig/debian/systemd-container.manpages 2025-10-22 09:35:41.000000000 -0700
162+
+++ systemd-258.1/debian/systemd-container.manpages 2025-11-05 15:00:48.476900591 -0800
81163
@@ -1,11 +1,11 @@
82164
#!/usr/bin/dh-exec
83165
debian/tmp/usr/share/man/man1/importctl.1

0 commit comments

Comments
 (0)