dpkg: provide basic /var/lib/dpkg directory structure inside package
Previously was provided only through bootstrap archive.
This commit is contained in:
parent
13f0811d76
commit
a1721cc1ac
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user