dependencies: switch arch, debian, fedora35, ubuntu2004 to packagekit
Void was not migrated to PackageKit because there is no backend for xbps in it. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
fd9986da0b
commit
0f74569af0
|
@ -26,63 +26,65 @@ if [ $EUID -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
pacman -S --needed --noconfirm packagekit
|
||||||
|
|
||||||
# Duplications are intentional. Please do not re-factor.
|
# Duplications are intentional. Please do not re-factor.
|
||||||
#
|
#
|
||||||
# This is so that they can moved to separate scripts.
|
# This is so that they can moved to separate scripts.
|
||||||
#
|
#
|
||||||
|
|
||||||
pacman -S --needed --noconfirm wget
|
pkcon -y install wget
|
||||||
|
|
||||||
# For downloading source code
|
# For downloading source code
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm git
|
pkcon -y install git
|
||||||
|
|
||||||
# For Tianocore and iPXE
|
# For Tianocore and iPXE
|
||||||
# TODO: check whether this is the full list
|
# TODO: check whether this is the full list
|
||||||
|
|
||||||
pacman -S --needed --noconfirm nasm perl-libwww python2 subversion
|
pkcon -y install nasm perl-libwww python2 subversion
|
||||||
|
|
||||||
# For building source code:
|
# For building source code:
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm base-devel
|
pkcon -y install base-devel
|
||||||
|
|
||||||
# for running the crostool script (to get mrc.bin file for t440p)
|
# for running the crostool script (to get mrc.bin file for t440p)
|
||||||
pacman -S --needed --noconfirm sharutils curl parted e2fsprogs unzip
|
pkcon -y install sharutils curl parted e2fsprogs unzip
|
||||||
|
|
||||||
# for cross-compiling ARM binaries
|
# for cross-compiling ARM binaries
|
||||||
pacman -S --needed --noconfirm arm-none-eabi-gcc
|
pkcon -y install arm-none-eabi-gcc
|
||||||
|
|
||||||
# Memtest86+ build dependencies
|
# Memtest86+ build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm base-devel python2
|
pkcon -y install base-devel python2
|
||||||
|
|
||||||
# i945-pwm build dependencies
|
# i945-pwm build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm base-devel perl
|
pkcon -y install base-devel perl
|
||||||
|
|
||||||
# Coreboot build dependencies (also requires build-essential and git)
|
# Coreboot build dependencies (also requires build-essential and git)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm ncurses doxygen acpica gdb flex bison base-devel git openssl gcc-ada
|
pkcon -y install ncurses doxygen acpica gdb flex bison base-devel git openssl gcc-ada
|
||||||
|
|
||||||
# GRUB build dependencies (also requires build-essential, bison and flex)
|
# GRUB build dependencies (also requires build-essential, bison and flex)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm bdf-unifont autogen help2man base-devel bison flex ttf-dejavu texinfo rsync python libusb xz gawk device-mapper fuse2 gettext freetype2
|
pkcon -y install bdf-unifont autogen help2man base-devel bison flex ttf-dejavu texinfo rsync python libusb xz gawk device-mapper fuse2 gettext freetype2
|
||||||
|
|
||||||
# BucTS build dependencies (external script)
|
# BucTS build dependencies (external script)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm base-devel
|
pkcon -y install base-devel
|
||||||
|
|
||||||
# Flashrom build dependencies (also requires build-essential)
|
# Flashrom build dependencies (also requires build-essential)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
pacman -S --needed --noconfirm libpciaccess pciutils zlib libftdi base-devel libusb
|
pkcon -y install libpciaccess pciutils zlib libftdi base-devel libusb
|
||||||
|
|
||||||
# For running make check
|
# For running make check
|
||||||
# ----------------------
|
# ----------------------
|
||||||
|
|
|
@ -25,85 +25,87 @@ if [ $EUID -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt-get -y install packagekit
|
||||||
|
|
||||||
# Duplications are intentional. Please do not re-factor.
|
# Duplications are intentional. Please do not re-factor.
|
||||||
#
|
#
|
||||||
# This is so that they can moved to separate scripts.
|
# This is so that they can moved to separate scripts.
|
||||||
#
|
#
|
||||||
|
|
||||||
apt-get -y install wget
|
pkcon -y install wget
|
||||||
|
|
||||||
# For downloading source code
|
# For downloading source code
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install git
|
pkcon -y install git
|
||||||
|
|
||||||
# For Tianocore and iPXE
|
# For Tianocore and iPXE
|
||||||
# TODO: check whether this is the full list
|
# TODO: check whether this is the full list
|
||||||
|
|
||||||
apt-get -y install uuid-dev nasm
|
pkcon -y install uuid-dev nasm
|
||||||
|
|
||||||
# For building source code:
|
# For building source code:
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential
|
pkcon -y install build-essential
|
||||||
|
|
||||||
# for running the crostool script (to get mrc.bin file for t440p)
|
# for running the crostool script (to get mrc.bin file for t440p)
|
||||||
apt-get -y install sharutils curl parted e2fsprogs unzip
|
pkcon -y install sharutils curl parted e2fsprogs unzip
|
||||||
|
|
||||||
# to use the right software versions and links for compiling
|
# to use the right software versions and links for compiling
|
||||||
apt-get -y install pkg-config
|
pkcon -y install pkg-config
|
||||||
|
|
||||||
# for cross-compiling ARM binaries
|
# for cross-compiling ARM binaries
|
||||||
apt-get -y install gcc-arm-linux-gnueabi
|
pkcon -y install gcc-arm-linux-gnueabi
|
||||||
|
|
||||||
[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ]
|
[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ]
|
||||||
arch=${?}
|
arch=${?}
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
if [ "${arch}" -eq 0 ]; then
|
if [ "${arch}" -eq 0 ]; then
|
||||||
apt-get -y install gcc-multilib libc6-i386 libc6-dev-i386
|
pkcon -y install gcc-multilib libc6-i386 libc6-dev-i386
|
||||||
apt-get -y install lib32stdc++6 g++-multilib dh-autoreconf
|
pkcon -y install lib32stdc++6 g++-multilib dh-autoreconf
|
||||||
# recommended, but not sure what for:
|
# recommended, but not sure what for:
|
||||||
apt-get -y install lib32tinfo-dev
|
pkcon -y install lib32tinfo-dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Memtest86+ build dependencies
|
# Memtest86+ build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential python2.7 python-is-python3
|
pkcon -y install build-essential python2.7 python-is-python3
|
||||||
|
|
||||||
# i945-pwm build dependencies
|
# i945-pwm build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential perl
|
pkcon -y install build-essential perl
|
||||||
|
|
||||||
# Coreboot build dependencies (also requires build-essential and git)
|
# Coreboot build dependencies (also requires build-essential and git)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev gnat
|
pkcon -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev gnat
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
[ "${arch}" -eq 0 ] && apt-get -y install lib32ncurses5-dev
|
[ "${arch}" -eq 0 ] && pkcon -y install lib32ncurses5-dev
|
||||||
|
|
||||||
# GRUB build dependencies (also requires build-essential, bison and flex)
|
# GRUB build dependencies (also requires build-essential, bison and flex)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install fonts-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev
|
pkcon -y install fonts-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev
|
||||||
|
|
||||||
# BucTS build dependencies (external script)
|
# BucTS build dependencies (external script)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential
|
pkcon -y install build-essential
|
||||||
|
|
||||||
# Flashrom build dependencies (also requires build-essential)
|
# Flashrom build dependencies (also requires build-essential)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 libusb-1.0-0-dev libusb-dev
|
pkcon -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 libusb-1.0-0-dev libusb-dev
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
[ "${arch}" -eq 0 ] && apt-get -y install lib32z1-dev
|
[ "${arch}" -eq 0 ] && pkcon -y install lib32z1-dev
|
||||||
|
|
||||||
# For running make check
|
# For running make check
|
||||||
# ----------------------
|
# ----------------------
|
||||||
apt-get -y install shellcheck # lint
|
pkcon -y install shellcheck # lint
|
||||||
apt-get -y install gawk git grep lzip make sed tar xz-utils # u-boot-libre
|
pkcon -y install gawk git grep lzip make sed tar xz-utils # u-boot-libre
|
||||||
|
|
|
@ -27,70 +27,72 @@ if [ $EUID -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnf -y install PackageKit
|
||||||
|
|
||||||
# Duplications are intentional. Please do not re-factor.
|
# Duplications are intentional. Please do not re-factor.
|
||||||
#
|
#
|
||||||
# This is so that they can moved to separate scripts.
|
# This is so that they can moved to separate scripts.
|
||||||
#
|
#
|
||||||
|
|
||||||
dnf -y install wget
|
pkcon -y install wget
|
||||||
|
|
||||||
# For downloading source code
|
# For downloading source code
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install git
|
pkcon -y install git
|
||||||
|
|
||||||
# For building the documentation
|
# For building the documentation
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install pandoc
|
pkcon -y install pandoc
|
||||||
|
|
||||||
# For Tianocore and iPXE
|
# For Tianocore and iPXE
|
||||||
# TODO: check whether this is the full list
|
# TODO: check whether this is the full list
|
||||||
|
|
||||||
dnf -y install nasm perl-libwww-perl python2 subversion
|
pkcon -y install nasm perl-libwww-perl python2 subversion
|
||||||
|
|
||||||
# For building source code:
|
# For building source code:
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install gcc
|
pkcon -y install gcc
|
||||||
|
|
||||||
# for running the crostool script (to get mrc.bin file for t440p)
|
# for running the crostool script (to get mrc.bin file for t440p)
|
||||||
dnf -y install sharutils curl parted e2fsprogs unzip
|
pkcon -y install sharutils curl parted e2fsprogs unzip
|
||||||
|
|
||||||
# for cross-compiling ARM binaries
|
# for cross-compiling ARM binaries
|
||||||
dnf -y install arm-none-eabi-gcc-cs
|
pkcon -y install arm-none-eabi-gcc-cs
|
||||||
|
|
||||||
# Memtest86+ build dependencies
|
# Memtest86+ build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install gcc python2
|
pkcon -y install gcc python2
|
||||||
|
|
||||||
# i945-pwm build dependencies
|
# i945-pwm build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install gcc perl
|
pkcon -y install gcc perl
|
||||||
|
|
||||||
# Coreboot build dependencies (also requires build-essential and git)
|
# Coreboot build dependencies (also requires build-essential and git)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install gcc-gnat ncurses-devel doxygen acpica-tools gdb flex bison gcc git openssl-devel gprbuild bzip2
|
pkcon -y install gcc-gnat ncurses-devel doxygen acpica-tools gdb flex bison gcc git openssl-devel gprbuild bzip2
|
||||||
|
|
||||||
# GRUB build dependencies (also requires build-essential, bison and flex)
|
# GRUB build dependencies (also requires build-essential, bison and flex)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install unifont-fonts autogen help2man gcc bison flex dejavu-fonts-all texinfo rsync python libusb xz gawk device-mapper fuse gettext freetype-devel intltool libselinux-devel
|
pkcon -y install unifont-fonts autogen help2man gcc bison flex dejavu-fonts-all texinfo rsync python libusb xz gawk device-mapper fuse gettext freetype-devel intltool libselinux-devel
|
||||||
|
|
||||||
# BucTS build dependencies (external script)
|
# BucTS build dependencies (external script)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install gcc
|
pkcon -y install gcc
|
||||||
|
|
||||||
# Flashrom build dependencies (also requires build-essential)
|
# Flashrom build dependencies (also requires build-essential)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
dnf -y install pciutils-devel zlib-devel libftdi-devel gcc libusb-devel
|
pkcon -y install pciutils-devel zlib-devel libftdi-devel gcc libusb-devel
|
||||||
|
|
||||||
# For running make check
|
# For running make check
|
||||||
# ----------------------
|
# ----------------------
|
||||||
dnf -y install ShellCheck # lint
|
pkcon -y install ShellCheck # lint
|
||||||
dnf -y install gawk git grep lzip make sed tar xz # u-boot-libre
|
pkcon -y install gawk git grep lzip make sed tar xz # u-boot-libre
|
||||||
|
|
|
@ -25,85 +25,87 @@ if [ $EUID -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt-get -y install packagekit-tools
|
||||||
|
|
||||||
# Duplications are intentional. Please do not re-factor.
|
# Duplications are intentional. Please do not re-factor.
|
||||||
#
|
#
|
||||||
# This is so that they can moved to separate scripts.
|
# This is so that they can moved to separate scripts.
|
||||||
#
|
#
|
||||||
|
|
||||||
apt-get -y install wget
|
pkcon -y install wget
|
||||||
|
|
||||||
# For downloading source code
|
# For downloading source code
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install git
|
pkcon -y install git
|
||||||
|
|
||||||
# For Tianocore and iPXE
|
# For Tianocore and iPXE
|
||||||
# TODO: check whether this is the full list
|
# TODO: check whether this is the full list
|
||||||
|
|
||||||
apt-get -y install uuid-dev nasm
|
pkcon -y install uuid-dev nasm
|
||||||
|
|
||||||
# For building source code:
|
# For building source code:
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential
|
pkcon -y install build-essential
|
||||||
|
|
||||||
# for running the crostool script (to get mrc.bin file for t440p)
|
# for running the crostool script (to get mrc.bin file for t440p)
|
||||||
apt-get -y install sharutils curl parted e2fsprogs unzip
|
pkcon -y install sharutils curl parted e2fsprogs unzip
|
||||||
|
|
||||||
# to use the right software versions and links for compiling
|
# to use the right software versions and links for compiling
|
||||||
apt-get -y install pkg-config
|
pkcon -y install pkg-config
|
||||||
|
|
||||||
# for cross-compiling ARM binaries
|
# for cross-compiling ARM binaries
|
||||||
apt-get -y install gcc-arm-linux-gnueabi
|
pkcon -y install gcc-arm-linux-gnueabi
|
||||||
|
|
||||||
[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ]
|
[ "$(uname -i)" = x86_64 ] || [ "$(uname -m)" = x86_64 ]
|
||||||
arch=${?}
|
arch=${?}
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
if [ "${arch}" -eq 0 ]; then
|
if [ "${arch}" -eq 0 ]; then
|
||||||
apt-get -y install gcc-multilib libc6-i386 libc6-dev-i386
|
pkcon -y install gcc-multilib libc6-i386 libc6-dev-i386
|
||||||
apt-get -y install lib32stdc++6 g++-multilib dh-autoreconf
|
pkcon -y install lib32stdc++6 g++-multilib dh-autoreconf
|
||||||
# recommended, but not sure what for:
|
# recommended, but not sure what for:
|
||||||
apt-get -y install lib32tinfo-dev
|
pkcon -y install lib32tinfo-dev
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Memtest86+ build dependencies
|
# Memtest86+ build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential python2.7
|
pkcon -y install build-essential python2.7
|
||||||
|
|
||||||
# i945-pwm build dependencies
|
# i945-pwm build dependencies
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential perl
|
pkcon -y install build-essential perl
|
||||||
|
|
||||||
# Coreboot build dependencies (also requires build-essential and git)
|
# Coreboot build dependencies (also requires build-essential and git)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev gnat
|
pkcon -y install libncurses5-dev doxygen iasl gdb flex bison build-essential git libssl-dev gnat
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
[ "${arch}" -eq 0 ] && apt-get -y install lib32ncurses5-dev
|
[ "${arch}" -eq 0 ] && pkcon -y install lib32ncurses5-dev
|
||||||
|
|
||||||
# GRUB build dependencies (also requires build-essential, bison and flex)
|
# GRUB build dependencies (also requires build-essential, bison and flex)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install ttf-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev
|
pkcon -y install ttf-unifont libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev libfont-freetype-perl automake autotools-dev build-essential bison flex libfuse-dev liblzma-dev gawk libdevmapper-dev libtool libfreetype6-dev
|
||||||
|
|
||||||
# BucTS build dependencies (external script)
|
# BucTS build dependencies (external script)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install build-essential
|
pkcon -y install build-essential
|
||||||
|
|
||||||
# Flashrom build dependencies (also requires build-essential)
|
# Flashrom build dependencies (also requires build-essential)
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
apt-get -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 libusb-1.0-0-dev libusb-dev
|
pkcon -y install libpci-dev pciutils zlib1g-dev libftdi-dev build-essential libusb-1.0-0-dev libusb-1.0 libusb-1.0-0-dev libusb-dev
|
||||||
|
|
||||||
# For cross-compiling i686 target on x86_64 host.
|
# For cross-compiling i686 target on x86_64 host.
|
||||||
[ "${arch}" -eq 0 ] && apt-get -y install lib32z1-dev
|
[ "${arch}" -eq 0 ] && pkcon -y install lib32z1-dev
|
||||||
|
|
||||||
# For running make check
|
# For running make check
|
||||||
# ----------------------
|
# ----------------------
|
||||||
apt-get -y install shellcheck # lint
|
pkcon -y install shellcheck # lint
|
||||||
apt-get -y install gawk git grep lzip make sed tar xz-utils # u-boot-libre
|
pkcon -y install gawk git grep lzip make sed tar xz-utils # u-boot-libre
|
||||||
|
|
Loading…
Reference in New Issue