Skip to content

Commit

Permalink
build.sh: Fakeroot-UserNS build sequence updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCaster committed Mar 12, 2017
1 parent 9cfc963 commit f3d6ee8
Showing 1 changed file with 14 additions and 26 deletions.
40 changes: 14 additions & 26 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,34 +59,22 @@ mkdir -p "$curdir/External"
check_error

if [[ ! -d $curdir/External/Fakeroot-UserNS ]]; then
cd "$curdir/External"
git clone https://github.com/DarkCaster/Fakeroot-UserNS.git
check_error
cd "$curdir/External/Fakeroot-UserNS"
check_error
patch -p1 -i ./debian/patches/eglibc-fts-without-LFS
check_error
patch -p1 -i ./debian/patches/glibc-xattr-types
check_error
patch -p1 -i ./debian/patches/fix-shell-in-fakeroot
check_error
patch -p1 -i ./debian/patches/hide-dlsym-error.patch
cd "$curdir/External"
git clone https://github.com/DarkCaster/Fakeroot-UserNS.git
check_error
cd "$curdir/External/Fakeroot-UserNS"
check_error
patch -p1 -i ./debian/patches/eglibc-fts-without-LFS
check_error
patch -p1 -i ./debian/patches/glibc-xattr-types
check_error
patch -p1 -i ./debian/patches/fix-shell-in-fakeroot
check_error
patch -p1 -i ./debian/patches/hide-dlsym-error.patch
./preroll
check_error
fi

cd "$curdir/External/Fakeroot-UserNS"
check_error

&>/dev/null make distclean

autoreconf -fiv
check_error

(cd doc && po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg)
check_error

rm -rf autom4te.cache build-aux
check_error

rm -rf "$curdir/Build/Fakeroot-UserNS-build"
rm -rf "$curdir/Build/fixups/fakeroot"/*

Expand Down

0 comments on commit f3d6ee8

Please sign in to comment.