mirror of
https://github.com/pygos/build.git
synced 2024-11-05 03:27:10 +01:00
Cleanup musl package scripts
- Generate description files on the fly along with file listings - Only add dependency on fortify headers if hardening is enabled Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
969d777291
commit
c76ceae475
3 changed files with 10 additions and 2 deletions
|
@ -56,7 +56,16 @@ deploy() {
|
|||
cat_file_merge "LDPATH" > "$PKGDEPLOYDIR/LDPATH"
|
||||
cp libssp_nonshared.a "$PKGDEPLOYDIR/lib"
|
||||
|
||||
cp $SCRIPTDIR/pkg/$PKGNAME/*.{desc,files} "$PKGDEPLOYDIR"
|
||||
cp "$SCRIPTDIR/pkg/$PKGNAME/libc-dev.files" "$PKGDEPLOYDIR"
|
||||
|
||||
if [ "x$TC_HARDENING" = "xyes" ]; then
|
||||
echo "requires libc linux-dev fortify-headers" > \
|
||||
"$PKGDEPLOYDIR/libc-dev.desc"
|
||||
else
|
||||
echo "requires libc linux-dev" > "$PKGDEPLOYDIR/libc-dev.desc"
|
||||
fi
|
||||
|
||||
touch "$PKGDEPLOYDIR/libc.desc"
|
||||
|
||||
cat > "$PKGDEPLOYDIR/libc.files" <<_EOF
|
||||
dir lib 0755 0 0
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
requires libc linux-dev fortify-headers
|
Loading…
Reference in a new issue