diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /os-prober/abuild | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'os-prober/abuild')
| -rw-r--r-- | os-prober/abuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/os-prober/abuild b/os-prober/abuild new file mode 100644 index 00000000..9465c60e --- /dev/null +++ b/os-prober/abuild @@ -0,0 +1,22 @@ +name=os-prober +version=1.83 +release=1 +source="http://ftp.de.debian.org/debian/pool/main/o/$name/${name}_$version.tar.xz" + +build() { + make + + install -Dm755 linux-boot-prober $PKG/usr/bin/linux-boot-prober + install -Dm755 os-prober $PKG/usr/bin/os-prober + install -Dm755 newns $PKG/usr/lib/os-prober/newns + install -Dm755 common.sh $PKG/usr/share/os-prober/common.sh + + for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do + install -dm755 "$PKG/usr/lib/$dir" + install -m755 -t "$PKG/usr/lib/$dir" "$dir"/common/* + [ -d "$dir"/x86 ] && cp -r "$dir"/x86/* "$PKG/usr/lib/$dir" + done + + install -Dm755 os-probes/mounted/powerpc/20macosx $PKG/usr/lib/os-probes/mounted/20macosx + install -dm755 $PKG/var/lib/os-prober +} |