diff options
author | Hugo Landau <hlandau@devever.net> | 2013-04-10 23:45:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-11 13:51:11 +0000 |
commit | a3671aa297db852c9b5fedd64a713bc6d7fb9d4f (patch) | |
tree | 41eb6b8e96c5409300d2e7c7849878fb54edeada /group | |
parent | 17c2183fdd3f788fe38a64024d15c895492114b5 (diff) | |
download | mkinitfs-a3671aa297db852c9b5fedd64a713bc6d7fb9d4f.tar.bz2 mkinitfs-a3671aa297db852c9b5fedd64a713bc6d7fb9d4f.tar.xz |
mkinitfs - Modified init script for network boot
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
Diffstat (limited to 'group')
0 files changed, 0 insertions, 0 deletions