mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
For the ARM porting story: add copying a package list with arch-specific packages
to the build-flavour script. Right now it only includes grub-pc.
This commit is contained in:
parent
08a6856b3c
commit
6bf7fdff0f
1
data/package-lists/vyos-x86.list.chroot
Normal file
1
data/package-lists/vyos-x86.list.chroot
Normal file
@ -0,0 +1 @@
|
||||
grub-pc
|
||||
@ -19,8 +19,14 @@
|
||||
|
||||
|
||||
BUILD_TYPE=$(scripts/query-json build/build-config.json build_type)
|
||||
BUILD_ARCH=$(scripts/query-json build/build-config.json architecture)
|
||||
|
||||
# Add debug tools if it's a development image
|
||||
if [ $BUILD_TYPE = "development" ]; then
|
||||
cp data/package-lists/vyos-dev.list.chroot build/config/package-lists/
|
||||
fi
|
||||
|
||||
# Install grub-pc if it's an x86 build
|
||||
if [ $BUILD_ARCH = 'amd64' -o $BUILD_ARCH = 'i686' ]; then
|
||||
cp data/package-lists/vyos-x86.list.chroot build/config/package-lists/
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user