aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
Commit message (Collapse)AuthorAgeFilesLines
* 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
* init: use apkovl instead of ovl_dev boot option httpNatanael Copa2013-05-021-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 runNatanael Copa2013-05-021-3/+1
|
* init: minor cleanup. improve error reportingNatanael Copa2013-05-021-7/+9
|
* init: dont use bash style ==Natanael Copa2013-05-021-4/+4
|
* init: factorize out OVL_DEV_IS_NETWORK variableNatanael Copa2013-05-021-25/+24
| | | | instead, check if OVL_DEV is an URI
* init: remove unused OVL_MNTNatanael Copa2013-05-021-3/+0
|
* init: factorize out ALPINE_DEV_IS_NETWORKNatanael Copa2013-05-021-3/+2
| | | | | Use ALPINE_DEV_FS to detect nfs instead of adding an additional variable
* init: whitespace fixesNatanael Copa2013-05-021-4/+3
|
* mkinitfs - Modified init script for network bootHugo Landau2013-04-111-18/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This supports network boot over NFS providing the correct kernel modules and udhcpc hook script are incorporated to the initrd (tweak mkinitfs config). The init script can now obtain an IP using udhcpc if you specify ip=dhcp. This replaces kernel-level DHCP. Downloading an ovl via http now works also. Use ovl_dev=http://... You can now specify a repository at a different location than at the alpine_dev. Use alpine_repo=http://nl.alpinelinux.org/... By default, or if alpine_repo=auto, a repository will be searched for on the alpine_dev, as usual. alpine_dev can now be an NFS share using alpine_dev=nfs:IP:EXPORT The NFS share is currently necessarily mounted using -o nolock. To boot over PXE you might use ip=dhcp alpine_dev=nfs:1.2.3.4:/... ovl_dev=http://.../foo.apkovl.tar.gz You can use {MAC} and {UUID} in opk_dev. They will be substituted. Ensure you put the value of opk_dev in quotes, e.g. opk_dev="http://.../?mac={MAC}" Example file and driver list for PXE boot: kernel/drivers/net/ethernet/* kernel/net/packet/af_packet.ko kernel/fs/nfs/* kernel/fs/lockd/* kernel/net/sunrpc/* usr/share/udhcpc/default.script
* init: fix cryptdm regressionNatanael Copa2013-03-141-2/+3
|
* skip "current console" from beign added to inittabEugene Rush2013-02-281-0/+3
|
* Revert "init: do not add tty0 to inittab"Natanael Copa2013-02-281-1/+0
| | | | | | Will cause an infinite loop This reverts commit 7610f39218f20a0d9dc207174cae51008a189016.
* init: improve kernel param parsingNatanael Copa2013-02-271-10/+21
| | | | We only set KOPT_* for the args we actually use and ignore the rest.
* init: do not add tty0 to inittabNatanael Copa2013-02-261-0/+1
| | | | It is default console and should not be added to inittab
* Revert "init: only use /etc/apk/world when it exists"Natanael Copa2012-05-171-7/+5
| | | | | | | | | | | | We can not only use /etc/apk/world since it will always be there due to previous apk add --initdb. Instead, clean up the /var/lib/apk/world after upgrade This reverts commit 8981ccbf5b2636c7d2e06b08ffdf87be80fe19c8. Conflicts: initramfs-init.in
* init: search boot repositories after relocationNatanael Copa2012-05-021-3/+4
|
* init: fix inittab for users who upgrades from pre openrcNatanael Copa2012-05-021-0/+8
| | | | | | | The /etc/init.d/rc[SLK] have been replaced with openrc but users might have references to the old scripts in their /etc/inittab. We fix this from initramfs init.
* init: only use /etc/apk/world when it existsNatanael Copa2012-04-301-1/+6
| | | | We should not read /var/lib/apk/world if /etc/apk/world exists.
* init: allow verbose package installNatanael Copa2012-04-301-1/+5
|
* init: avoid error message if /etc/fstab is missing in sysrootNatanael Copa2012-03-071-4/+5
|
* init: generate the repositories after relocationNatanael Copa2012-01-041-9/+15
| | | | | | This solves problem when UUID is used in syslinux.cfg when booting USB devices. The generated repositories had /media/$UUID/apks but the /media/$UUID got relocated to /media/usb
* init: do not try relocate alpine_mnt if not in fstabNatanael Copa2011-11-011-1/+1
|
* init: new boot option: debug_initNatanael Copa2011-10-271-0/+3
| | | | will enable lots of verbose debugging
* init: try detect alpine_dev filesystem if not specifiedNatanael Copa2011-10-271-1/+21
| | | | Note that ext4 will be detected as ext3
* init: replace cramfs with squashfsNatanael Copa2011-10-261-1/+1
| | | | ref #784
* init: delay unmounting apkovl media til after packages are installedNatanael Copa2011-08-271-16/+23
| | | | We might need the apk cache on config media
* init: find UUID=, LABEL= and symlinked devices in fstabsNatanael Copa2011-08-241-18/+57
| | | | Remount devices to match fstab if found
* init: use the global keymap supportNatanael Copa2011-06-031-1/+0
|
* add encrypted root supportMichael Zhou2011-06-031-0/+13
|
* init: enable keymap supportNatanael Copa2011-06-031-0/+10
| | | | | User just need add a /etc/keymap/$map to the initramfs to get keymap support. This is useful for encrypted apkovls and cryptsetup.
* init: fix progressbar when not quietNatanael Copa2011-04-281-0/+3
| | | | see http://bugs.alpinelinux.org/issues/613
* init: unmount the media where apkovl was found if neededNatanael Copa2011-04-131-2/+5
| | | | This prevents double mount of /media/usb and /media/usbdisk
* init: use new location for worldNatanael Copa2011-04-071-1/+1
|
* init: let DRM drivers be autodetectedNatanael Copa2011-03-161-3/+1
| | | | this is so we only load the drivers we have hardware for
* fix typoWilliam Pitcock2011-03-111-1/+1
|
* add KMS featureWilliam Pitcock2011-03-111-0/+8
|
* init: allow raid use mdadm if neededNatanael Copa2011-01-071-9/+25
|
* init: make / readonly for world when tmpfsNatanael Copa2011-01-071-2/+2
|
* init: support lvm ontop of raid devicesNatanael Copa2010-12-241-7/+12
|
* init: vgscan and vgchange are symlinks use lvmNatanael Copa2010-12-231-3/+4
|
* init: support for lvmNatanael Copa2010-12-231-0/+6
|
* init: mount devices as read-onlyNatanael Copa2010-12-211-4/+5
|
* init: respect mount options in /etc/fstab for alpine_devNatanael Copa2010-12-031-0/+9
| | | | | ref #477 http://redmine.alpinelinux.org/issues/477
* init: be more quiet. install openssl with apkNatanael Copa2010-10-291-16/+16
| | | | | | | We use apk add to install openssl if needed. This is so dependencies are handeled properly. See http://redmine.alpinelinux.org/issues/455
* init: restore /dev/nullNatanael Copa2010-10-271-0/+3
|
* init: only copy .alpine-release if there are no /etc/alpine-release from beforeNatanael Copa2010-10-271-2/+4
|
* init: add support for pkgs=... boot opt and UUID in alpine_devNatanael Copa2010-10-221-5/+15
|