mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
Add sysroot script
This commit is contained in:
parent
e4baf137a3
commit
23533b1575
52
src/build/linux/sysroot_scripts/sysroot-creator-sid-naive.sh
Executable file
52
src/build/linux/sysroot_scripts/sysroot-creator-sid-naive.sh
Executable file
@ -0,0 +1,52 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
.() { :; }
|
||||||
|
|
||||||
|
source "${SCRIPT_DIR}/sysroot-creator-sid.sh"
|
||||||
|
|
||||||
|
unset -f .
|
||||||
|
|
||||||
|
DEBIAN_PACKAGES='
|
||||||
|
libc6
|
||||||
|
libc6-dev
|
||||||
|
linux-libc-dev
|
||||||
|
libgcc-6-dev
|
||||||
|
libgcc1
|
||||||
|
libgomp1
|
||||||
|
libatomic1
|
||||||
|
libasan3
|
||||||
|
libubsan0
|
||||||
|
libstdc++6
|
||||||
|
libnspr4
|
||||||
|
libnspr4-dev
|
||||||
|
libnss3
|
||||||
|
libnss3-dev
|
||||||
|
libsqlite3-0
|
||||||
|
'
|
||||||
|
|
||||||
|
DEBIAN_PACKAGES_X86='
|
||||||
|
libcilkrts5
|
||||||
|
libitm1
|
||||||
|
libmpx2
|
||||||
|
libquadmath0
|
||||||
|
'
|
||||||
|
DEBIAN_PACKAGES_ARM='
|
||||||
|
'
|
||||||
|
DEBIAN_PACKAGES_ARM64='
|
||||||
|
libitm1
|
||||||
|
'
|
||||||
|
|
||||||
|
# Disables libdbus workarounds
|
||||||
|
ln -sf /bin/true strip
|
||||||
|
ln -sf /bin/true arm-linux-gnueabihf-strip
|
||||||
|
export PATH="$PWD:$PATH"
|
||||||
|
cp() {
|
||||||
|
[ "${1##*/}" = libdbus-1-3-symbols ] && return
|
||||||
|
/bin/cp "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
trap "cd $PWD; rm strip arm-linux-gnueabihf-strip" EXIT
|
||||||
|
|
||||||
|
. "${SCRIPT_DIR}/sysroot-creator.sh"
|
Loading…
Reference in New Issue
Block a user