mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +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
34
steps-guix/guix-hash-compat-1.5.0/pass1.sh
Normal file
34
steps-guix/guix-hash-compat-1.5.0/pass1.sh
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local compat_src
|
||||
compat_src="${DESTDIR}/usr/libexec/guix-hash-compat/guix-1.5.0"
|
||||
|
||||
mkdir -p "${compat_src}"
|
||||
cp -a . "${compat_src}/"
|
||||
|
||||
install -D -m 0755 /dev/stdin "${DESTDIR}/usr/bin/guix-hash-compat" <<'EOS'
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
src_dir="/usr/libexec/guix-hash-compat/guix-1.5.0"
|
||||
if [ -d /tmp/guix-1.5.0 ]; then
|
||||
src_dir="/tmp/guix-1.5.0"
|
||||
fi
|
||||
|
||||
cd "${src_dir}"
|
||||
exec ./pre-inst-env guix hash "$@"
|
||||
EOS
|
||||
}
|
||||
1
steps-guix/guix-hash-compat-1.5.0/sources
Normal file
1
steps-guix/guix-hash-compat-1.5.0/sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
f https://ftpmirror.gnu.org/gnu/guix/guix-1.5.0.tar.gz df2102eed00aff0b17275654a42f094c8a1117ec065884eb1ff76005e47415c5
|
||||
Loading…
Add table
Add a link
Reference in a new issue