aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
Commit message (Collapse)AuthorAgeFilesLines
* initramfs-init: check that fbplash image exists firstTimo Teräs2016-11-241-0/+1
|
* init: dont use local in global scopeNatanael Copa2016-11-241-4/+3
|
* mkinitfs: add nbd supportCarlo Landmeter2016-10-281-9/+29
| | | | | this also introduces default behaviour for networking calling configure_ip without setting ip defaults to dhcp
* init: make network boot work without apkovlKaarle Ritvanen2016-10-201-1/+4
|
* init: recognize ttyAMA as serial consoleTimo Teräs2016-07-141-1/+1
|
* init: add support for ttyMFD and ttyUSB serial consoleNatanael Copa2016-06-201-2/+2
| | | | and set default speed to 115200.
* init: support individual splash image per fbdevTimo Teräs2016-02-171-9/+15
|
* init: hide kernel messages with 'quiet'Natanael Copa2016-01-181-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 specifiedNatanael Copa2016-01-181-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 existsNatanael Copa2016-01-181-1/+1
| | | | | we need set MAC_ADDRESS where whi know $device, which is a local variable.
* init: remove dead codeNatanael Copa2016-01-181-17/+0
|
* init: fix mount relocationNatanael Copa2016-01-061-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/repositoriesTimo Teräs2016-01-061-9/+9
| | | | | this fixes one typo of that filename. ref #4975 - fixes half of the problem.
* init: fix grep to refer to the securetty fileTimo Teräs2015-12-221-1/+1
| | | | otherwise it hangs waiting input from stdin
* init: add tty from cmdline to securettyNatanael Copa2015-12-181-4/+9
|
* init: fix mount relocationNatanael Copa2015-11-251-28/+29
|
* init: also pass cryptopts when looking for apkovl/bootrepoNatanael Copa2015-10-221-7/+8
| | | | in theory we should be able to have apkovl on LUKS device
* init: fix cryptrootNatanael Copa2015-10-221-2/+2
| | | | we need actually pass the $cryptopts to nlplug-findfs
* init: start hwdrivers and modloop unless apkovl is foundNatanael Copa2015-10-201-0/+2
|
* Merge branch 'master' into nlplug-findfsNatanael Copa2015-10-201-3/+6
|\
| * init: remove support for old apk package filesTimo Teräs2015-10-191-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 installTimo Teräs2015-10-191-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 actionsTimo Teräs2015-10-131-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 fbsplashNatanael Copa2015-10-191-1/+1
| |
* | init: do not force add hwdrivers and modloopNatanael Copa2015-10-141-5/+0
| | | | | | | | we probably dont support upgrade from the old version it was there for
* | init: run mdev as handler for device modesNatanael Copa2015-10-091-3/+3
| |
* | init: refactor to use nlplug-findfsNatanael Copa2015-10-091-280/+67
|/
* init: create /run in case it is missingNatanael Copa2015-09-221-1/+1
| | | | mdadm and lvm needs it
* init: make mdadm quietJesse Young2015-09-221-1/+3
|
* init: try mount /dev as devtmpfs and fallback to tmpfsNatanael Copa2015-07-151-1/+2
| | | | eudev depends on devtmpfs
* init: do not eval /proc/cmdlineNatanael Copa2015-04-081-3/+3
| | | | | | It breaks xen boot options like xen-pciback.hide=(01:00.0) ref #3609
* init: respect rootflags for tmpfs root tooNatanael Copa2015-04-081-3/+8
| | | | and warn about root_size. Users should use rootflags instead now.
* init: clean up rootfstype and rootflags optionsNatanael Copa2015-04-081-15/+5
| | | | we can get rid of if/else with some shell variable expansions
* init: add support for rootfstype and rootflags boot optionsOlivier Mauras2015-04-081-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 cryptsetupNatanael Copa2015-03-101-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 rootTimo Teräs2015-02-071-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 optionalTimo Teräs2014-12-021-2/+10
| | | | just having the fbsplash.ppm in boot media activates now splash.
* init: coding style fixNatanael Copa2014-12-011-1/+3
|
* init: allow blacklisting of modules from cmdlineTimo Teräs2014-12-011-1/+4
|
* init: remove 'nofbcon' and the explicit modprobe fbconTimo Teräs2014-12-011-7/+1
| | | | it is useless as fbcon is really loaded by mdev.
* init: preliminary support for splash image during bootTimo Teräs2014-12-011-2/+13
|
* init: fix loading of fbconNatanael Copa2014-11-261-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 successNatanael Copa2014-11-171-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/floppyNatanael Copa2014-11-101-1/+1
|
* init: minor refactor of find_ovlNatanael Copa2014-11-101-6/+3
| | | | use 'set' instead of 'ls' to find duplicate apkovls
* init: refactor searching for apkovlNatanael Copa2014-11-101-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 optNatanael Copa2014-11-051-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 matchNatanael Copa2014-01-071-0/+8
| | | | ref #2529
* init: improve boot outputNatanael Copa2013-11-071-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.gzNatanael Copa2013-05-061-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