diff options
| author | gueux <gueux@web> | 2017-12-20 18:58:51 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2017-12-20 18:58:51 +0000 |
| commit | eee395e7ab3e3d894098414025ab985bd001f701 (patch) | |
| tree | 9c37ac6dae39d6200da2ff2ec182068fdc4926b4 /doc | |
| parent | df3ffdb80ae353e0d50dd19812e6024697ad7533 (diff) | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn b/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn new file mode 100644 index 00000000..003bc716 --- /dev/null +++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn @@ -0,0 +1,52 @@ +I'm trying to build an image for my router, which (after all) seems to need Grub.EFI64... + +Here is my config: + + caillette = host hn $ props + & hasPartitionTableType GPT + & hasPartition + ( partition VFAT + `mountedAt` "/boot/efi" + `partLocation` Beginning + `setSize` MegaBytes 10 + `setFlag` EspFlag + ) + & hasPartition + ( partition EXT2 + `mountedAt` "/boot" + `setSize` MegaBytes 150 + ) + & hasPartition + ( partition EXT4 + `mountedAt` "/" + `partLocation` End + `addFreeSpace` MegaBytes 500 + ) + & standardSystem (Stable "stretch") X86_64 + [ "home router" ] + & Apt.installed ["linux-image-amd64"] + & serialGrub + where + serialGrub :: Property (HasInfo + DebianLike) + serialGrub = "/etc/default/grub" `File.containsLines` + [ "GRUB_CMDLINE_LINUX=\"console=ttyS0,115200n8 biosdevname=0\"" + , "GRUB_SERIAL_COMMAND=\"serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1\"" + , "GRUB_TERMINAL=serial" + ] + -- `onChange` Grub.mkConfig + `requires` Grub.installed Grub.EFI64 + `describe` "GRUB configured for PC Engines' APU2 serial console" + +When running propellor it fails with: + + ... + mkfs.fat 4.1 (2017-01-24) + loop deleted : /dev/loop0 + rsync: change_dir "/srv/router.img.chroot/boot/efi" failed: No such file or directory (2) + 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/0)rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2] + + loop deleted : /dev/loop0 + laptop built disk image /srv/router.img ... failed + laptop overall ... failed + +Shouldn't /boot/efi be automatically created? |
