mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(guix-bzip2): enforce static install and validate runnable bzip2 during apply
This commit is contained in:
parent
6dfc8d5c85
commit
afec884ea5
3 changed files with 14 additions and 2 deletions
|
|
@ -12,6 +12,10 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
make PREFIX="${SYSTEM_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
make PREFIX="${SEED_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SYSTEM_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SEED_PREFIX}" DESTDIR="${DESTDIR}" install
|
||||
|
||||
# Fail early if either installed binary is not executable in this environment.
|
||||
"${DESTDIR}${SYSTEM_PREFIX}/bin/bzip2" --help >/dev/null
|
||||
"${DESTDIR}${SEED_PREFIX}/bin/bzip2" --help >/dev/null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue