mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 20:16:32 +01:00
Add Guix step including bootstrap bin, build guix, build iso and fix some small bug
This commit is contained in:
parent
fb146bbf97
commit
3178f1f9e0
36 changed files with 890 additions and 7 deletions
|
|
@ -0,0 +1,33 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_get() { :; }
|
||||
src_unpack() { :; }
|
||||
src_prepare() { :; }
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
local stage copied
|
||||
stage="/tmp/mescc-tools-static-stripped-0.5.2-i686-linux"
|
||||
copied=0
|
||||
|
||||
rm -rf "${stage}"
|
||||
mkdir -p "${stage}/bin"
|
||||
|
||||
for f in M1 hex2 blood-elf kaem M2-Planet M2-Mesoplanet get_machine; do
|
||||
if [ -x "/usr/bin/${f}" ]; then
|
||||
seed_install_exec "/usr/bin/${f}" "${stage}/bin/${f}"
|
||||
copied=1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "${copied}" -ne 1 ]; then
|
||||
echo "No mescc-tools binaries were found under /usr/bin." >&2
|
||||
false
|
||||
fi
|
||||
|
||||
seed_make_repro_tar_xz "${stage}" "${DISTFILES}/mescc-tools-static-stripped-0.5.2-i686-linux.tar.xz"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -D -m 0644 /dev/null "${DESTDIR}/usr/share/guix-seeds/mescc-tools-static-stripped-0.5.2-i686-linux"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue