armbian-build/lib
zciendor ddf0ed1edf
Redo of implementation for feature request #947 on current master
This was already implemented with https://github.com/armbian/build/pull/948,
before but never made it into the master branch yet. Probably because the
development branch has been abandoned in the meantime and it is to much effort
now to merge it into master.

It includes all the cleanup changes from commit 08743d3 and has been successfully
tested on an Odroid HC1.

In addition to what is currently in the `luks` branch the following improvments
where done/added:

1. update_initramfs() function in debbootstrap-ng.sh, which needs to be invoked
   after the partition layout and /etc/crypttab was created. Else `cryptroot-unlock`
   won't work and you'll run into:
   https://serverfault.com/questions/907254/cryproot-unlock-with-dropbear-timeout-while-waiting-for-askpass

   Apart from that it might be useful to always run `update-initramfs` at the end
   of the build process anyway, in case customize_image (userpatches) made some
   changes to the initramfs tools configs.

2. CRYPTROOT_SSH_UNLOCK=yes/no config option. It's by default set to yes, but it
   might be desired by some users to disable enable SSH/dropbear access while
   still having LUKS support. E.g. if they have a device that has a display
   and keyboard.

3. If no `authorized_keys` file is provided via userpatches, a new SSH key pair
   is generated and for convenience copied to the output directory along with
   the final image.
2018-07-31 16:02:26 -05:00
..
build-all.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
chroot-buildpackages.sh Use Cloudflare DNS server for privacy reasons 2018-05-28 14:01:05 -07:00
compilation.sh Meson64 kernel adjustement and wrong path in displaying new kernel conf 2018-07-28 15:03:39 +00:00
configuration.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
debootstrap-ng.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
desktop.sh Merging main libs into the stable. Hack for building Bionic on Xenial left out 2018-05-24 21:01:02 +02:00
distributions.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
fel-load.sh Update the build script github repo address 2017-08-01 12:51:10 +03:00
general.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
image-helpers.sh Redo of implementation for feature request #947 on current master 2018-07-31 16:02:26 -05:00
main.sh Merging main libs into the stable. Hack for building Bionic on Xenial left out 2018-05-24 21:01:02 +02:00
makeboarddeb.sh Enable ramlog only if it was enabled before. This fixes possible troubles on OMV installs. Adjusted Odroid NEXT kernel configuration, fixes eMMC/SD card u-boot updating if not on the first place /dev/mmcblk0 ... checks also 1 and 2, move nanopik1plus to supported list 2018-06-23 13:28:27 +00:00
repository.sh Merging main libs into the stable. Hack for building Bionic on Xenial left out 2018-05-24 21:01:02 +02:00
upgrade.sh Add migration checks and messages 2017-08-01 12:28:19 +03:00