From 0cd07161900da9aad7c72ac1816a8406c44ccc5b Mon Sep 17 00:00:00 2001 From: parazyd Date: Wed, 8 Jun 2016 18:53:10 +0200 Subject: [PATCH] dos mbr sizes --- config | 4 ++-- zlibs/imaging | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/config b/config index 5d10c79..669ccf3 100644 --- a/config +++ b/config @@ -40,8 +40,8 @@ section="main" # core packages for the system core_packages=(devuan-keyring debian-keyring) -core_packages+=(git-core binutils ca-certificates curl) -core_packages+=(locales console-common less nano vim) +core_packages+=(binutils ca-certificates curl) +core_packages+=(console-common less nano vim) # base packages for the system base_packages=(bzip2 dialog apt-utils fakeroot e2fsprogs parted) diff --git a/zlibs/imaging b/zlibs/imaging index 90e55bd..b7b4acb 100644 --- a/zlibs/imaging +++ b/zlibs/imaging @@ -46,6 +46,9 @@ img_partition_dos() { notice "Partitioning with dos" + dos_boot_size=(ext2 0 64) + dos_root_size=(ext4 64 -1) + pushd ${workdir} parted ${imgname} --script -- mklabel msdos @@ -88,6 +91,14 @@ img_partition_gpt() { popd } +img_bootloader_prepare() { + fn img_bootloader_prepare +} + +img_bootloader_install() { + fn img_bootloader_install +} + img_mount() { fn img_mount req=(bootpart rootpart workdir)