| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch tries to add resume from hibernation (aka suspend to disk)
support to mkinitfs. The swap partition can be provided via the resume
option.
The default Alpine Linux kernel has no hibernation support compiled in,
so a custom kernel is needed in order to use this.
Some links on the topic:
* https://wiki.gentoo.org/wiki/Custom_Initramfs/Hibernation
* https://git.archlinux.org/mkinitcpio.git/tree/hooks/resume
|
|
|
|
|
|
|
| |
The kernel passes arguments from /proc/cmdline as a single string like
foo=bar baz="something with spaces". In the latter case, with the added
single quotes the actual value of ${KOPT_baz} would contain these quotes
as well, which is not the intention.
|
| |
|
| |
|
|
|
|
|
| |
this also introduces default behaviour for networking
calling configure_ip without setting ip defaults to dhcp
|
| |
|
| |
|
|
|
|
| |
and set default speed to 115200.
|
| |
|
|
|
|
|
| |
this was commented out during nlplug-findfs refactor for debugging
purposes. uncomment it again.
|
|
|
|
|
|
|
| |
we we specify a repo with boot option then we should not launch an
emergency shell even if no repo was found.
This is needed for pxe boot.
|
|
|
|
|
| |
we need set MAC_ADDRESS where whi know $device, which is a local
variable.
|
| |
|
|
|
|
|
| |
we need to relocate mount based on fstab in initramfs in case there is
an apkovl but no fstab.
|
|
|
|
|
| |
this fixes one typo of that filename. ref #4975 - fixes
half of the problem.
|
|
|
|
| |
otherwise it hangs waiting input from stdin
|
| |
|
| |
|
|
|
|
| |
in theory we should be able to have apkovl on LUKS device
|
|
|
|
| |
we need actually pass the $cryptopts to nlplug-findfs
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
remove support for /etc/lbu/packages.list (pre historic times)
and /var/lib/apk/world (historic times). upgrade from versions
using these files is no longer supported.
|
| |
| |
| |
| |
| |
| |
| | |
during tmpfs install, some package scripts and triggers may
require access to /dev, /proc or /sys. make sure those are
bind mounted to have them available. they are later on move
mounted to the new root.
|
| |
| |
| |
| |
| |
| | |
they in fact are harmful, hwdrivers is not needed or even wanted
if using eudev. these were only needed for upgrade path from
alpine 1.9.x which is no longer supported.
|
| | |
|
| |
| |
| |
| | |
we probably dont support upgrade from the old version it was there for
|
| | |
|
|/ |
|
|
|
|
| |
mdadm and lvm needs it
|
| |
|
|
|
|
| |
eudev depends on devtmpfs
|
|
|
|
|
|
| |
It breaks xen boot options like xen-pciback.hide=(01:00.0)
ref #3609
|
|
|
|
| |
and warn about root_size. Users should use rootflags instead now.
|
|
|
|
| |
we can get rid of if/else with some shell variable expansions
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for two new options in the cmdline.
- rootfstype: Let's you specify the type of filesystem for the root fs
- rootflags: Let's you specify mount options for the root fs - If
specified, "ro" flag won't be added by default.
This has primarily been setup to be able to boot Alpine guests from a 9P
virtio share and make it easy to change mount options from libvirt/qemu
|
|
|
|
|
|
|
| |
recent version of cryptsetup does not seem to work with UUID=... devices
unless udev is used to create /dev/disk/by-uuid symlinks.
We work around that by resolving UUID=... to the device.
|
|
|
|
|
|
| |
useful if wanting to optimize boot time, and do device updates
via read-only system image. package management is not too useful
in these situations.
|
|
|
|
| |
just having the fbsplash.ppm in boot media activates now splash.
|
| |
|
| |
|
|
|
|
| |
it is useless as fbcon is really loaded by mdev.
|
| |
|
|
|
|
|
| |
we check if /sys/class/graphics/fb0 exists before loading fbcon and
allow user to disable tiwh nofbcon as boot option
|
|
|
|
|
|
|
| |
It seems like vgscan does not return success in initramfs, even if
the needed devices noded are created.
Ignore errors and try run vgchange in any case.
|
| |
|
|
|
|
| |
use 'set' instead of 'ls' to find duplicate apkovls
|
|
|
|
|
|
|
| |
we search on all block devices with known filesystems using blkid.
This should help us find apkovl on ext[234] filesystems and on block
devices that are not on the USB bus.
|
|
|
|
|
|
|
| |
User might want change the order raid cryptsetup and lvm is started.
This allows for example cryptsetup on top of lvm.
ref #3420
|
|
|
|
| |
ref #2529
|