mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 12:06:31 +01:00
fix(guix): add dedicated build step to compile and run loopback bind helper before python server
This commit is contained in:
parent
96c2cfbb98
commit
4324f23d48
3 changed files with 75 additions and 0 deletions
21
steps-guix/loopback-bind-127001/pass1.sh
Normal file
21
steps-guix/loopback-bind-127001/pass1.sh
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
gcc -O2 -std=c99 -Wall -Wextra -Werror \
|
||||
-o /tmp/loopback-bind-127001 \
|
||||
loopback-bind-127001.c
|
||||
|
||||
/tmp/loopback-bind-127001
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -D -m 0644 /dev/null "${DESTDIR}/usr/share/loopback-bind-127001.done"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue