mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
base-system: update for depends as bdeps.
This commit is contained in:
parent
7dd20b20ad
commit
8d8574e8cd
1 changed files with 5 additions and 11 deletions
|
@ -10,8 +10,9 @@ license="Public domain"
|
||||||
|
|
||||||
replaces="base-system-runit>=0"
|
replaces="base-system-runit>=0"
|
||||||
|
|
||||||
makedepends="
|
makedepends="gcc glibc"
|
||||||
base-files>=0.77 ncurses coreutils findutils gcc glibc glibc-locales diffutils
|
depends="
|
||||||
|
base-files>=0.77 ncurses coreutils findutils glibc-locales diffutils
|
||||||
dash bash grep gzip file sed gawk less util-linux which tar man-pages
|
dash bash grep gzip file sed gawk less util-linux which tar man-pages
|
||||||
man-db shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools kbd psmisc
|
man-db shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools kbd psmisc
|
||||||
procps-ng tzdata pciutils iana-etc eudev runit-void openssh dhcpcd
|
procps-ng tzdata pciutils iana-etc eudev runit-void openssh dhcpcd
|
||||||
|
@ -19,17 +20,10 @@ makedepends="
|
||||||
void-artwork traceroute ethtool parted kmod"
|
void-artwork traceroute ethtool parted kmod"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686) makedepends+=" linux grub";;
|
i686) makedepends+=" linux grub"; depends+=" linux grub";;
|
||||||
x86_64) makedepends+=" linux grub-x86_64-efi";;
|
x86_64) makedepends+=" linux grub-x86_64-efi"; depends+=" linux grub-x86_64-efi";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# gcc and glibc shouldn't be direct dependencies.
|
|
||||||
for f in ${makedepends}; do
|
|
||||||
if [ "$f" != "gcc" -a "$f" != "glibc" ]; then
|
|
||||||
depends+=" $f"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Create /sbin/init symlink to runit-init.
|
# Create /sbin/init symlink to runit-init.
|
||||||
vmkdir usr/sbin
|
vmkdir usr/sbin
|
||||||
|
|
Loading…
Add table
Reference in a new issue