summaryrefslogtreecommitdiffstats
path: root/install
AgeCommit message (Collapse)AuthorFilesLines
2011-06-25remove support for -m to add a startup messageDave Reisner1-4/+0
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-19install/keymap: refactor and bashifyDave Reisner1-23/+16
Write directly to the build root rather than creating temp files to be added later on. Also cleanup syntax to Bash standards. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-19overhaul output, introducing colorDave Reisner1-2/+2
Output style and coloring is borrowed from makepkg with minor adjustments. Most instances where we encounter fatal errors are replaced with a 'die' function to wrap this up neatly. In addition, we introduce the -n flag, for no-color. As a side effect, we need to source the functions file earlier so we have the output functions available earlier. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16functions: remove add_deviceDave Reisner1-5/+0
This was only ever used in the base layout, and it's not needed. devices will be present if we're using devtmpfs, and created for us by init if we mount on tmpfs. Also, this is part of our move towards using bsdcpio instead of gen_init_cpio, and as a side effect we can no longer support this. Any devices that need to be created should be done so by the runtime hooks, not the install time hooks. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16dmesg: remove install/hookDave Reisner1-19/+0
This should be set via the loglevel= parameter on the kernel cmdline. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16mkinitcpio: deprecate install() in install hooksDave Reisner21-22/+24
This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-02Remove load-modules.sh. Requires the udev 171-2 package.Thomas Bächler1-1/+0
2011-04-08Introduce /runThomas Bächler1-0/+1
Mount /run as a 10MB tmpfs with 1777 permissions early. Move it to /new_root when switching.
2011-03-27Simplify root file system detectionThomas Bächler1-2/+1
Instead of calling blkid, get the file system type directly from findmnt. Fixes FS#23100.
2011-02-06remove loop from btrfs again, not neededTobias Powalowski1-1/+1
2011-02-06add loop module to avoid error messages from btrfs device scanTobias Powalowski1-1/+1
2011-02-06add DAC960 scsi module to scsi hook againTobias Powalowski1-1/+1
2011-01-31Enhance sleep hook to watch for device availabilityThomas Bächler1-0/+3
Add a sleepdevice= parameter that will watch for the specified device to appear and then move on. This is more flexible than a defined sleep period and prevents needless waiting if the device appears sooner. Original patch by: Dan McGee <dan@archlinux.org>
2011-01-31Use new helper functions instead of system commandsDan McGee1-2/+1
Replace all of the repeated calls to dirname and basename with our new replacments. Also replace the 'grep ... /dev/null' idiom with calls to 'grep -q', which does exactly what we want. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-25Support .ko.gz kernel modules, in addition to .koThomas Bächler1-2/+3
We used to expect only .ko as a kernel module name. Also accept .ko.gz, so we can reduce the installed size of the kernel26 package.
2011-01-12If filesystem autodetection fails, use all_modules instead of checked_modulesThomas Bächler2-2/+13
2011-01-12filesystems: remove cp437, it is added as an extra module whenever fat is usedThomas Bächler1-1/+1
2011-01-12autodetect: only probe the root deviceThomas Bächler1-4/+7
2010-08-21Do not include everything from /block/ in the SCSI hook.Thomas Bächler1-1/+1
Fixes FS#19666
2010-07-05Merge branch 'btrfs' of http://github.com/heftig/mkinitcpio into workingThomas Bächler2-17/+19
2010-06-26Add back /dev/{zero,null,mem} to the initramfs imageThomas Bächler1-0/+3
These devices might be actually needed before (dev)tmpfs is mounted, for example when uvesafb is built into the kernel (no module). By creating them in the image, they will be present as soon as initramfs has been extracted. Fixes https://bugs.archlinux.org/task/19903.
2010-06-23memdisk: add 01-memdisk.rules to Makefile, use the correct path in ↵Thomas Bächler1-1/+1
install/memdisk
2010-06-23memdisk: Add udev ruleThomas Bächler1-0/+1
This rule creates /dev/memdisk if a memdisk has been found.
2010-06-23Add memdisk hookThomas Bächler1-0/+19
This hook creates a block device for virtual disks created by memdisk (http://syslinux.zytor.com/wiki/index.php/MEMDISK).
2010-06-19Simple Btrfs hookJan Steffens1-0/+16
All it does for now is cause a Btrfs scan so we can mount multi-device volumes.
2010-06-19Implement explicit module dependsJan Steffens1-13/+2
Needed to get libcrc32c and therefore btrfs to work. Also remove the equivalent section in autodetect, which wasn't working anyway.
2010-06-19Fix autodetect bitrotJan Steffens1-6/+3
This error went unnoticed after auto_modules was switched over to resolve-modalias. As a result, ata_generic and ide-generic weren't filtered anymore.
2010-06-10Create /dev/{null,zero,mem,console} devices when devtmpfs is missingThomas Bächler1-3/+0
These devices used to be present because they were added in the image. Since we now mount {dev,}tmpfs early in initramfs, the devices from the image will be invisible. In the tmpfs-case, create the devices manually so everything will be in order until udev is started, or if udev isn't used at all.
2010-06-03udev hook: Add ata_id, path_id, scsi_id and usb_id to allow complete ↵Thomas Bächler1-1/+1
persistent storage rules
2010-05-08Add dmesg hookThomas Bächler1-0/+18
2010-05-08Allow usage of non-utf8 fonts in the consolefont hook, see FS#19109Thomas Bächler1-4/+8
Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109 This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package
2010-05-08Change how autodetect hook lookup for filesystemsGerardo Exequiel Pozzi1-1/+1
In this way, remove eval hacks and enviroments vars, just use blkid syntax. I guess in this way will fix/hide "command not found" when fstype is not property setup in fs, reported by some users. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-22Add 'sleep' hookThomas Bächler1-0/+19
2010-02-15Add the "nfs" kernel module with in net hookThomas Bächler1-1/+1
2010-02-14fix detection of CONSOLEFONT from rc.confIonut Biru1-5/+2
Signed-off-by: Ionut Biru <ionut@archlinux.ro>
2010-02-12Fix module name in usb/usbinput install hookGerardo Exequiel Pozzi2-2/+2
There is no module named sl1811-hcd, must be sl811-hcd Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11Fix file system autodetection of filesystems when the running kernel and the ↵Thomas Bächler1-1/+1
target kernel don't match. We need --set-version when resolving filesystem aliases, thanks Tobias.
2010-02-11Fix tabs/space indents from commit 866db5c5Gerardo Exequiel Pozzi1-6/+6
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11consolefont: Update error messageThomas Bächler1-2/+2
2010-02-10Add "consolefont" hook to set the console font earlyThomas Bächler1-0/+31
Patch provided by Davorin Učakar, currently only unicode fonts are supported
2010-02-09Add support for mounting root filesystem over NFS.Simon Boulay1-4/+7
2010-02-07Adjust pcmcia hook: Use dynamically linked binaries and only add sd_mod to ↵Thomas Bächler1-3/+3
the kernel modules
2010-02-07Remove firmware hookThomas Bächler1-22/+0
This hook is complete overkill: Firmware for modules is added when they specify it in modinfo. If someone needs more firmware, FILES= in mkinitcpio.conf should always be used.
2010-02-07Do not try to load the keymap if no KEYMAP option is set in rc.confThomas Bächler1-11/+13
Fixes FS#18214
2010-02-07Allow a filesystem name to be an alias instead of a kernel moduleThomas Bächler1-4/+7
This fixes future bugs in 2.6.33 when the ext4 driver is used for ext3 and ext2, and you want to mount ext2/3 as your root filesystem
2010-02-05Remove the raid hook: This will be replaced by the better hook from the ↵Thomas Bächler1-39/+0
mdadm package
2010-01-24[install/udev] Latest udev uses firmware instead of firmware.shThomas Bächler1-1/+1
2010-01-12Fix UTF8 mode in the keymap hookThomas Bächler1-2/+2
2010-01-12Add keymap hookThomas Bächler1-0/+29
2010-01-10Add udev hook, originated from the obsolete klibc-udev packageThomas Bächler1-0/+28