make repo compatible with new aps changes and remove busybox binary package in preparation of the source one

This commit is contained in:
hippoz 2021-07-03 22:27:25 +03:00
parent 459e269c92
commit b46c369019
21 changed files with 47 additions and 44 deletions

View file

@ -1,7 +1,7 @@
mkdir "${PKG_PACKAGE_PATH}"/payload/dev
mkdir "${PKG_PACKAGE_PATH}"/payload/mnt
mkdir "${PKG_PACKAGE_PATH}"/payload/proc
mkdir "${PKG_PACKAGE_PATH}"/payload/run
mkdir "${PKG_PACKAGE_PATH}"/payload/sbin
mkdir "${PKG_PACKAGE_PATH}"/payload/sys
mkdir "${PKG_PACKAGE_PATH}"/payload/tmp
mkdir $1/dev
mkdir $1/mnt
mkdir $1/proc
mkdir $1/run
mkdir $1/sbin
mkdir $1/sys
mkdir $1/tmp

View file

@ -1,5 +1,5 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.2"
PKG_CONFIG_NAME="alnux"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="alnux"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +0,0 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.2"
PKG_CONFIG_NAME="busybox-bin"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""

Binary file not shown.

View file

@ -1 +0,0 @@
ln -s /bin/busybox "${INSTALL_ROOT}/bin/sh"

5
busybox/package Normal file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="busybox"
pkg_config_makedepends=""
pkg_config_depends=""

View file

View file

@ -63,12 +63,12 @@ case "$1" in
echo "Recreating $realconf"
tmpfile="$realconf-$$"
#> "$tmpfile"
[ -n "$domain" ] # && echo "search $domain" >> "$tmpfile"
[ -n "$domain" ] && echo "search $domain" >> "$tmpfile"
for i in $dns ; do
echo " Adding DNS server $i"
#echo "nameserver $i" >> "$tmpfile"
echo "nameserver $i" >> "$tmpfile"
done
#/bin/busybox mv "$tmpfile" "$realconf"
/bin/busybox mv "$tmpfile" "$realconf"
;;
esac

1
busybox/postdeploy Normal file
View file

@ -0,0 +1 @@
/bin/busybox --install

View file

@ -1,5 +1,5 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.1"
PKG_CONFIG_NAME="glibc-bin"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""
pkg_config_deploy=true
pkg_config_ver="0.1"
pkg_config_name="glibc-bin"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +1,5 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.2"
PKG_CONFIG_NAME="grub-defconfig"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="grub-defconfig"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +1,5 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.2"
PKG_CONFIG_NAME="helloworld"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""
pkg_config_deploy=true
pkg_config_ver="0.2"
pkg_config_name="helloworld"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +1,4 @@
cd "${TEMP_LOCATION}"
git clone https://github.com/Sweets/hummingbird hummingbird-build
cd hummingbird-build
make
make install DESTDIR="${PKG_PACKAGE_PATH}/payload"
make install DESTDIR=$1

View file

@ -1 +1,5 @@
ALPKG_DEPLOY=true
pkg_config_deploy=true
pkg_config_ver="0.1"
pkg_config_name="hummingbird"
pkg_config_makedepends=""
pkg_config_depends=""

View file

@ -1,5 +1,5 @@
PKG_CONFIG_DEPLOY=true
PKG_CONFIG_VER="0.1"
PKG_CONFIG_NAME="linux-bin"
PKG_CONFIG_MAKEDEPENDS=""
PKG_CONFIG_DEPENDS=""
pkg_config_deploy=true
pkg_config_ver="0.1"
pkg_config_name="linux-bin"
pkg_config_makedepends=""
pkg_config_depends=""