Browse Source
dpkg: provide basic /var/lib/dpkg directory structure inside package
Previously was provided only through bootstrap archive.
emacs-27
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
7 additions and
0 deletions
-
packages/dpkg/build.sh
|
|
@ -73,3 +73,10 @@ termux_step_pre_configure() { |
|
|
|
export TAR=tar # To make sure dpkg tries to use "tar" instead of e.g. "gnutar" (which happens when building on OS X) |
|
|
|
perl -p -i -e "s/TERMUX_ARCH/$TERMUX_ARCH/" $TERMUX_PKG_SRCDIR/configure |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_massage() { |
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/alternatives" |
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/info" |
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/triggers" |
|
|
|
mkdir -p "${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/var/lib/dpkg/updates" |
|
|
|
} |
|
|
|