mirror of
https://github.com/AuxXxilium/arc-c.git
synced 2024-11-23 15:01:07 +07:00
commit
f2cb607c8d
4
.github/workflows/grub.yml
vendored
4
.github/workflows/grub.yml
vendored
@ -28,11 +28,11 @@ jobs:
|
||||
sudo timedatectl set-timezone "Europe/Berlin"
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y build-essential bison flex dosfstools
|
||||
sudo apt install -y build-essential bison flex dosfstools gawk gettext pkg-config autoconf automake autopoint
|
||||
|
||||
- name: Make Grub
|
||||
run: |
|
||||
. scripts/grub.sh "grub-2.06" "i386-pc i386-efi x86_64-efi"
|
||||
. scripts/grub.sh "grub-2.12" "i386-pc i386-efi x86_64-efi"
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -6,7 +6,7 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
GRUB=${1:-"grub-2.06"}
|
||||
GRUB=${1:-"grub-2.12"}
|
||||
BIOS=${2:-"i386-pc i386-efi x86_64-efi"}
|
||||
NAME=${3:-"ARC"}
|
||||
|
||||
@ -14,11 +14,11 @@ curl -#kLO https://ftp.gnu.org/gnu/grub/${GRUB}.tar.gz
|
||||
tar -zxvf ${GRUB}.tar.gz
|
||||
|
||||
pushd ${GRUB}
|
||||
echo depends bli part_gpt > grub-core/extra_deps.lst
|
||||
for B in ${BIOS}; do
|
||||
b=${B}
|
||||
b=(${b//-/ })
|
||||
echo "Make ${b[@]} ..."
|
||||
|
||||
mkdir -p ${B}
|
||||
pushd ${B}
|
||||
../configure --prefix=$PWD/usr -sbindir=$PWD/sbin --sysconfdir=$PWD/etc --disable-werror --target=${b[0]} --with-platform=${b[1]}
|
||||
|
Loading…
Reference in New Issue
Block a user