Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove duplicate section in README #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,6 @@ Whilst udebs are not designed to be removed/upgraded/replaced, their
install paths *should* not conflict with those of regular .deb files as
multiarch is not supported.

The existing d-i has an hd-media option; this should be investigated as a
starting point.
== cryptroot image
Kernel modules must be copied into the image:
[source]
----
BUILD_DIR=$(realpath build)/
pushd <rootfs>
sudo find usr/lib/modules \( -name 'dm-mod.*' -o -name 'dm-crypt.*' -o -name 'af_alg.*' -o -name 'algif_skcipher.*' -o -name 'libaes.*' -o -name 'aes_generic.*' -o -name 'aes-arm64.*' \) -exec cp -r --parents "{}" ${BUILD_DIR} \;
popd
----
== Future Directions
=== Automatic udeb generation
Investigate Debian tooling to automatically turn packages into udebs. udebs
are heavily cut-down (even omitting uninstall scripts) and may be ideal for
systems that are upgraded at the block device level.

=== Upgrade d-i media in-place
The d-i environment has a udeb version of dpkg, udpkg (which is only 31 kB
installed). Investigate possibility of an in-place upgrade from a udeb-based
system to something debootstrap would generate. This could be a 'stage 0.5' of
pi-gen.

Whilst udebs are not designed to be removed/upgraded/replaced, their
install paths *should* not conflict with those of regular .deb files as
multiarch is not supported.

The existing d-i has an hd-media option; this should be investigated as a
starting point.
== cryptroot image
Expand Down