Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | init: support individual splash image per fbdev | Timo Teräs | 2016-02-17 | 1 | -9/+15 |
| | |||||
* | init: hide kernel messages with 'quiet' | Natanael Copa | 2016-01-18 | 1 | -1/+1 |
| | | | | | this was commented out during nlplug-findfs refactor for debugging purposes. uncomment it again. | ||||
* | init: dont launch emergency shell if http repo is specified | Natanael Copa | 2016-01-18 | 1 | -1/+7 |
| | | | | | | | 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. | ||||
* | init: set MAC_ADDRESS in the scope where $device exists | Natanael Copa | 2016-01-18 | 1 | -1/+1 |
| | | | | | we need set MAC_ADDRESS where whi know $device, which is a local variable. | ||||
* | init: remove dead code | Natanael Copa | 2016-01-18 | 1 | -17/+0 |
| | |||||
* | init: fix mount relocation | Natanael Copa | 2016-01-06 | 1 | -21/+21 |
| | | | | | we need to relocate mount based on fstab in initramfs in case there is an apkovl but no fstab. | ||||
* | use $repofile for /tmp/repositories | Timo Teräs | 2016-01-06 | 1 | -9/+9 |
| | | | | | this fixes one typo of that filename. ref #4975 - fixes half of the problem. | ||||
* | init: fix grep to refer to the securetty file | Timo Teräs | 2015-12-22 | 1 | -1/+1 |
| | | | | otherwise it hangs waiting input from stdin | ||||
* | init: add tty from cmdline to securetty | Natanael Copa | 2015-12-18 | 1 | -4/+9 |
| | |||||
* | init: fix mount relocation | Natanael Copa | 2015-11-25 | 1 | -28/+29 |
| | |||||
* | init: also pass cryptopts when looking for apkovl/bootrepo | Natanael Copa | 2015-10-22 | 1 | -7/+8 |
| | | | | in theory we should be able to have apkovl on LUKS device | ||||
* | init: fix cryptroot | Natanael Copa | 2015-10-22 | 1 | -2/+2 |
| | | | | we need actually pass the $cryptopts to nlplug-findfs | ||||
* | init: start hwdrivers and modloop unless apkovl is found | Natanael Copa | 2015-10-20 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into nlplug-findfs | Natanael Copa | 2015-10-20 | 1 | -3/+6 |
|\ | |||||
| * | init: remove support for old apk package files | Timo Teräs | 2015-10-19 | 1 | -6/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | init: fix tmpfs install | Timo Teräs | 2015-10-19 | 1 | -0/+5 |
| | | | | | | | | | | | | | | 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. | ||||
| * | init: remove unneeded openrc upgrade actions | Timo Teräs | 2015-10-13 | 1 | -5/+0 |
| | | | | | | | | | | | | 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. | ||||
* | | init: fix typo for fbsplash | Natanael Copa | 2015-10-19 | 1 | -1/+1 |
| | | |||||
* | | init: do not force add hwdrivers and modloop | Natanael Copa | 2015-10-14 | 1 | -5/+0 |
| | | | | | | | | we probably dont support upgrade from the old version it was there for | ||||
* | | init: run mdev as handler for device modes | Natanael Copa | 2015-10-09 | 1 | -3/+3 |
| | | |||||
* | | init: refactor to use nlplug-findfs | Natanael Copa | 2015-10-09 | 1 | -280/+67 |
|/ | |||||
* | init: create /run in case it is missing | Natanael Copa | 2015-09-22 | 1 | -1/+1 |
| | | | | mdadm and lvm needs it | ||||
* | init: make mdadm quiet | Jesse Young | 2015-09-22 | 1 | -1/+3 |
| | |||||
* | init: try mount /dev as devtmpfs and fallback to tmpfs | Natanael Copa | 2015-07-15 | 1 | -1/+2 |
| | | | | eudev depends on devtmpfs | ||||
* | init: do not eval /proc/cmdline | Natanael Copa | 2015-04-08 | 1 | -3/+3 |
| | | | | | | It breaks xen boot options like xen-pciback.hide=(01:00.0) ref #3609 | ||||
* | init: respect rootflags for tmpfs root too | Natanael Copa | 2015-04-08 | 1 | -3/+8 |
| | | | | and warn about root_size. Users should use rootflags instead now. | ||||
* | init: clean up rootfstype and rootflags options | Natanael Copa | 2015-04-08 | 1 | -15/+5 |
| | | | | we can get rid of if/else with some shell variable expansions | ||||
* | init: add support for rootfstype and rootflags boot options | Olivier Mauras | 2015-04-08 | 1 | -3/+15 |
| | | | | | | | | | | | 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 | ||||
* | init: resolve UUID=... devices for cryptsetup | Natanael Copa | 2015-03-10 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | support for tmpfs overlay over root | Timo Teräs | 2015-02-07 | 1 | -2/+12 |
| | | | | | | 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. | ||||
* | init: fix splash fifo, and make config file optional | Timo Teräs | 2014-12-02 | 1 | -2/+10 |
| | | | | just having the fbsplash.ppm in boot media activates now splash. | ||||
* | init: coding style fix | Natanael Copa | 2014-12-01 | 1 | -1/+3 |
| | |||||
* | init: allow blacklisting of modules from cmdline | Timo Teräs | 2014-12-01 | 1 | -1/+4 |
| | |||||
* | init: remove 'nofbcon' and the explicit modprobe fbcon | Timo Teräs | 2014-12-01 | 1 | -7/+1 |
| | | | | it is useless as fbcon is really loaded by mdev. | ||||
* | init: preliminary support for splash image during boot | Timo Teräs | 2014-12-01 | 1 | -2/+13 |
| | |||||
* | init: fix loading of fbcon | Natanael Copa | 2014-11-26 | 1 | -4/+4 |
| | | | | | we check if /sys/class/graphics/fb0 exists before loading fbcon and allow user to disable tiwh nofbcon as boot option | ||||
* | init: lvm: run vgchange even if vgscan does not return success | Natanael Copa | 2014-11-17 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | init: remove /media/floppy | Natanael Copa | 2014-11-10 | 1 | -1/+1 |
| | |||||
* | init: minor refactor of find_ovl | Natanael Copa | 2014-11-10 | 1 | -6/+3 |
| | | | | use 'set' instead of 'ls' to find duplicate apkovls | ||||
* | init: refactor searching for apkovl | Natanael Copa | 2014-11-10 | 1 | -14/+34 |
| | | | | | | | 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. | ||||
* | init: set start order of raid, cryptsetup and lvm via alpine_start boot opt | Natanael Copa | 2014-11-05 | 1 | -7/+9 |
| | | | | | | | User might want change the order raid cryptsetup and lvm is started. This allows for example cryptsetup on top of lvm. ref #3420 | ||||
* | init: silently fix apk arch in case apkovl arch don't match | Natanael Copa | 2014-01-07 | 1 | -0/+8 |
| | | | | ref #2529 | ||||
* | init: improve boot output | Natanael Copa | 2013-11-07 | 1 | -12/+9 |
| | | | | | | | | - Don't redirect apk stdout ouput to /dev/null. recent apk has the progressbar on stdout. - Fix noquiet boot option - Dont't display Init version by default as it gests confused with Alpine release. | ||||
* | init: support apkovl=<localdev>:<fstype>:pathto/host.apkovl.tar.gz | Natanael Copa | 2013-05-06 | 1 | -0/+18 |
| | | | | | | | | Add support for the following formats for apkovl boot option: apkovl=sda1:ext4:/mydir/host.apkovl.tar.gz apkovl=sda1:/mydir/host.apkovl.tar.gz apkovl=/mydir/host.alpkovl.tar.gz | ||||
* | init: use apkovl instead of ovl_dev boot option http | Natanael Copa | 2013-05-02 | 1 | -12/+12 |
| | | | | | | | | Use the format: apkovl=http://<server>/path/host.apkovl.tar.gz when using apkovl from http. | ||||
* | init: use --update-cache flag instead of a separate apk update run | Natanael Copa | 2013-05-02 | 1 | -3/+1 |
| | |||||
* | init: minor cleanup. improve error reporting | Natanael Copa | 2013-05-02 | 1 | -7/+9 |
| | |||||
* | init: dont use bash style == | Natanael Copa | 2013-05-02 | 1 | -4/+4 |
| | |||||
* | init: factorize out OVL_DEV_IS_NETWORK variable | Natanael Copa | 2013-05-02 | 1 | -25/+24 |
| | | | | instead, check if OVL_DEV is an URI | ||||
* | init: remove unused OVL_MNT | Natanael Copa | 2013-05-02 | 1 | -3/+0 |
| |