tdos mbr sizes - libdevuansdk - common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log
Files
Refs
Submodules
README
LICENSE
---
commit 0cd07161900da9aad7c72ac1816a8406c44ccc5b
parent daae74bc00ef670007af5eceac371d6941a61440
Author: parazyd 
Date:   Wed,  8 Jun 2016 18:53:10 +0200

dos mbr sizes

Diffstat:
  M config                              |       4 ++--
  M zlibs/imaging                       |      11 +++++++++++

2 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/config b/config
t@@ -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
t@@ -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
t@@ -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)