pmbootstrap/pmb
Oliver Smith a0ca7d9a14
install --ondev: no postmarketos-base-nofde (MR 2082)
Install osk-sdl in the installer OS's boot partition for now. I forgot
about a code path earlier, which could render an encrypted target OS
without osk-sdl in the initramfs (and being unable to boot).

The target OS gets embeded in the installer OS as image file. This can
happen in two formats:

a) a full image with partition header and the boot and root partition
This is what bpo is doing when building the official, pre-built images,
as this method allows having the exact same image available separately
without the installer. Basically:
	pmbootstrap install \
		--ondev \
		--no-rootfs \
		--cp path/to/rootfs:/var/lib/rootfs.img

b) an image with just the root partition, no partition header and no
boot partition. This is what you get when running regular
"pmbootstrap install --ondev". It's slightly smaller, as there is no
duplicate boot partition.

If b) was done, the installer will copy the contents of the installer's
boot partition to the target OS. And that means: if osk-sdl is missing
from the installer's boot partition (the initramfs generated there), it
will also be missing in the boot partition of the target OS!

I think we should get rid of the b) code path to avoid confusion in the
future/make maintenance. But until that is done, always install osk-sdl
into the installer OS.
2021-07-11 20:18:41 +02:00
..
aportgen bootimg_analyze: Add support for boot header version 3 (MR 2073) 2021-07-07 04:43:24 +03:00
build kconfig check: add support for checking zram options (MR 2075) 2021-06-23 21:17:41 -07:00
chroot pmb.chroot.shutdown: clean up chroot marker here (MR 2082) 2021-07-11 17:12:26 +02:00
config pmbootstrap init: fix question for locale (MR 2082) 2021-07-11 17:12:31 +02:00
data pmb/data/keys/pmos-5a03a13a.rsa.pub: remove (!1835) 2019-11-21 23:52:25 +01:00
export Remove unnecessary symlink (MR 2057) 2021-05-19 23:57:32 +02:00
flasher enforce E501 in pmb/flasher (MR 2058) 2021-06-06 19:21:30 +02:00
helpers pmb.helpers.run_core.kill_commands: use minimal subset of ps parameters (MR 2074) 2021-06-28 02:07:55 +03:00
install install --ondev: no postmarketos-base-nofde (MR 2082) 2021-07-11 20:18:41 +02:00
parse Fix pmbootstrap -h for --mirror-pmOS (MR 2082) 2021-07-11 17:12:31 +02:00
qemu enforce E501 in pmb/__init__.py and pmb/qemu (MR 2058) 2021-06-06 19:21:30 +02:00
sideload pmb.sideload: support non-standard SSH port (!2046) 2021-04-25 21:04:49 +03:00
__init__.py enforce E501 in pmb/__init__.py and pmb/qemu (MR 2058) 2021-06-06 19:21:30 +02:00