| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Right now, when $KOPT_BOOTIF is specified, it can echo a device related
to that option and still continue with the loop that checks the
operstate. Due to this, it can echo two network interfaces. This commit
fixes that so it will only return a single network interface.
|
| |
|
| |
|
|
|
|
|
| |
Handle case when the crypt header is a normal file which is included in
initramfs and not a blockdevice.
|
| |
|
| |
|
|
|
|
| |
Add ssl_client so busybox wget has https support.
|
|
|
|
|
| |
This provides basic dhcp client support without including all the
network drivers/modules like the network feature does.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The configuration option was renamed when parts of our patch
were upstreamed to busybox.
|
|
|
|
|
| |
grub will set root=ZFS=... when root is zfs but will not add rootfstype,
so make a special case for zfs
|
|
|
|
|
|
|
|
|
|
| |
if search device is prefixed with ZFS= then we search for a label with
the zpool name in the zfs path. For example, if search device is
"ZFS=tank/alpine/root" then we search for device that is type
"zfs_member" and label "tank".
This makes it work better with grub which creates a boot cmdline with
ZFS=
|
| |
|
| |
|
|
|
|
| |
https://bugs.alpinelinux.org/issues/9889
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
BOOTIF can be set by the SYSAPPEND option of PXELINUX. Its primary
usecase is telling the OS which interface it was booted from. This
fixes netbooting from eth1 or upwards if eth0 is connected to an
different network.
|
| |
|
|
|
|
| |
This flag does not exist on most non-x86 platforms.
|
|
|
|
| |
The kernel offers the same functionality through libata.dma=0.
|
|
|
|
|
|
|
|
| |
Add a xenpci feature needed for xen driver domains that needs PCI devices
already in initramfs.
This is for instance needed for a xen storage driver domain hosting its rootfs
on a pci passthrough SAS controller.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of parsing the console= options in the initramfs, we ask the
kernel of its interpretation of the console= parameters. The kernel
does the console setup as part of its early startup, including the
configuration of the baud rate, control bits and flow control.
The options and format of the console= parameter are documented here:
https://www.kernel.org/doc/html/v4.15/admin-guide/serial-console.html
By keeping the settings from the kernel, we avoid baud rate switching
between printk and getty output on edge cases.
This adds support for additional tty types, like hvc, while removing
string parsing code from the initramfs.
|
|
|
|
|
| |
Previously, datadir was ignored when installing, using the hardcoded
default value.
|
| |
|
|
|
|
|
|
|
|
| |
Previously, configure_ip was only called from code paths of other
boot options that require network.
This fixes the passing of -n to nlplug-findfs and --no-network to
the apk memory bootstrap.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the ext4 module can handle ext2
|
| |
|
|
|
|
|
|
|
| |
The "cryptkey" boot parameter enables keyfile decryption. By default,
init will look for a keyfile named "/crypto_keyfile.bin". Another file
may be specified like so: "cryptkey=/path/to/keyfile.bin". If keyfile
decryption fails, init will fall back to passphrase mode.
|
|
|
|
|
|
|
|
| |
Previous code would return eth0 every time and pay no attention
if interface was up. This patch gets the state from operstate file
in sysfs to use the interface that is actually up in case there
are multiple interfaces present. If no interface is up, just use
last interface.
|
| |
|
|
|
|
| |
ssl_client provides the https support for busybox wget
|
|
|
|
|
|
|
| |
ssh_pass is not recommended and causes some issues in firstboot. We
remove support for it to keep things simple.
also make sure that sshd is started if ssh_key is set
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit allows starting 'firstboot' service (see aports/openrc),
which will setup installation through SSH if specified in kernel
parameters.
Real wget is used instead since busybox's wget is broken without
openssl binary #8917. Credits to clandmeter.
- Allow adding DNS server in configure_ip()
- Prefix kernel parameters with KOPT_
|
|
|
|
|
| |
- Allow including dasd and qeth modules when building initramfs
- Add detection for dasd and qeth devices from cmdline in init
|
|
|
|
| |
we may want have conditional default config depending on architecture
|
| |
|
|
|
|
|
| |
Having xfs_repair in the initramfs can help if your root filesystem
is messed up.
|