diff options
Diffstat (limited to 'scripts/build-flavour')
-rwxr-xr-x | scripts/build-flavour | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build-flavour b/scripts/build-flavour index c97903f5..389be980 100755 --- a/scripts/build-flavour +++ b/scripts/build-flavour @@ -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 |