summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
Commit message (Collapse)AuthorAgeFilesLines
* simplify: drop $STAGE1_LIBCThierry Vignaud2013-11-122-7/+5
|
* simplify, we only have one libcThierry Vignaud2013-11-121-3/+2
|
* simplify after previous commit: drop $DIETThierry Vignaud2013-11-121-9/+9
|
* support dynamic linking onlyThierry Vignaud2013-11-123-34/+2
|
* stage1: 2.0Colin Guthrie2013-11-062-1/+2
| | | | | Version bumped to represent the major change from previously (as was done for stage2)
* stage1: Ensure kernel modules and firmware can be loaded in stage2 mga#11600 ↵Colin Guthrie2013-11-062-0/+18
| | | | mga#11601
* 1.83Anne Nicolas2013-10-292-1/+2
|
* stage1: Add debugging for net device name confusion.Colin Guthrie2013-10-291-1/+2
| | | | | | | | | Because dracut uses udev and because udev has likely already started the interface, we will see things out of order. Large sections of the probing code could probably be removed but for the time being we should probably consider removing this error message completely
* stage1: Switch to a new mode of knowing when to re-exec init.Colin Guthrie2013-10-292-31/+30
| | | | | | | | | | | | Now that dracut runs stage1 earlier, we need to store it's exit code for later reuse. In this, the separate dracut module will just write a flag file in /run/drakx/ to indicate that we want to re-exec /sbin/init (after doing some symlinks and /usr bind mount) rather than run the install. As a result there is no need to return 0x35 ('procced') so just return 0 and keep 0x35 return code for when we really do need to restart stage1 (e.g. on a fatal error). The dracut module should loop if 0x35 is ever returned.
* stage1: Remove the counter from init.Colin Guthrie2013-10-291-8/+2
| | | | | init is now solely responsibe for running stage2 (be it install or rescue) as stage1 is now run earlier by dracut.
* stage1: Don't bother mounting various API filesystems.Colin Guthrie2013-10-291-18/+0
| | | | Dracut mounts these already.
* stage1: Move the symlink creation from stage1 to init.Colin Guthrie2013-10-297-108/+87
| | | | | | | | | | | | | | | | | | | | In order to run stage1 we now need to do things a little differently, namely that we move the symlinking fixups into 'init' itself which we will actually call as a kind of fake switch_root implementation to avoid hacking dracut too much[1]. As we run stage1 during dracut's 'mount' phase we should not do the symlink hacks so early otherwise it will mess up the rest of the dracut initqueue processing. Currently, the initrd's /usr is nuked and then symlinked, but to allow for easier debugging I now just bind mount the stage2 /usr over the top which allows us to unmount it again easily enough if we want to go back. We no longer touch the /bin, /sbin or /lib[64] symlinks as these are relative and simply bind mounting /usr is enough to fix all of them. 1. This scheme will have to change if we eventually swtich to a systemd based dracut invocation.
* stage1: Correct path to shellColin Guthrie2013-10-291-1/+1
|
* stage1: Switch to a shared stage1.Colin Guthrie2013-10-293-14/+17
| | | | | | | | | | | Previously we would create a static stage1 for the installer, but as a dracut based initrd already includes glibc, there is very little advantage in this small, statically linked version. As a side note, it seems that if the initrd contains a /etc/modprobe.d/ folder (which can be the case with dracut) then dietlibc seems to return a ENOENT when calling readdir_r() on that folder (via the libkmod-config.c code).
* stage1: Do not hard code STAGE2 pathColin Guthrie2013-10-291-1/+1
|
* stage1: Add .gitignoreColin Guthrie2013-10-291-0/+13
|
* 1.82Thierry Vignaud2013-10-142-1/+2
|
* sync with kernel-3.12Thierry Vignaud2013-10-141-0/+2
|
* 1.81Thierry Vignaud2013-10-102-1/+4
|
* 1.80Thierry Vignaud2013-10-102-1/+5
|
* Remove svn support from MakefilesColin Guthrie2013-09-041-19/+1
| | | | | | | | | | | | This should leave us with a working tarballs in all cases. The perl-install/Makefile has been adjusted to do the same as the previous svn rules (regarding copying Makefiles and running a perl tidyup routine) The perl-install/install/Makefile has been adjusted to svn export the rpm srate info from meta-task package subversion. This requires an active network connection, but should result in the same tarball as before until this is factored out
* 1.79Thierry Vignaud2013-08-302-1/+2
|
* fix invalid usage of memset()Thierry Vignaud2013-08-302-1/+3
| | | | | spot by gcc-4.8 introduced by Guillaume Cottenceau on Jan 8 2001 ("add dhcp")
* 1.78Thierry Vignaud2013-03-302-1/+2
|
* probe virtual drivers too (mga#9546)Thierry Vignaud2013-03-302-2/+5
|
* sortThierry Vignaud2013-03-301-1/+1
|
* 1.77Thierry Vignaud2013-03-262-1/+2
|
* kill now dead codeThierry Vignaud2013-03-262-81/+0
|
* use kmod for module loading (mga#9242, based on Pok works @mdv)Thierry Vignaud2013-03-232-28/+74
|
* kill long dead argumentThierry Vignaud2013-03-2313-55/+55
| | | | the "Additional Drivers floppy" is long dead
* (my_insmod) rename as (my_modprobe) as it really what it isThierry Vignaud2013-03-2313-54/+54
|
* do not reinvent kernel constantsThierry Vignaud2013-03-232-17/+7
|
* 1.76Thierry Vignaud2013-03-212-1/+2
|
* revert patch introduced in r7542Maarten Vanraes2013-03-202-1/+10
|
* revert the extra buildtarget introduced in revision 7542Maarten Vanraes2013-03-141-8/+0
|
* - fix loading modules with "-" in their names (mga#9242)Maarten Vanraes2013-03-133-10/+14
| | | | - add an easy buildtarget for testing
* 1.74.1Thomas Backlund2013-03-022-1/+2
|
* update list_modules for xen dom0 and virtio support (#9242)Thomas Backlund2013-03-021-0/+2
|
* 1.74Thierry Vignaud2013-02-272-1/+2
|
* fix unitialized memory screwing up dialog input (pok, mdv, mga#8729)Thierry Vignaud2013-02-274-5/+6
|
* kill bootsplash support (we drop bootsplash in kernel in 2008)Thierry Vignaud2013-02-269-106/+4
|
* kill firmware loader now that firmware are loaded by the kernelThierry Vignaud2012-12-215-110/+3
|
* special case for libreoffice-langpack-brThierry Vignaud2012-12-211-5732/+560
|
* include Parse::EDID for monitor-parse-edid (mga#8076)Thierry Vignaud2012-11-151-560/+5732
|
* add a FIXME note about loading every fs modulesThierry Vignaud2012-09-201-0/+1
|
* 1.73Thierry Vignaud2012-09-172-1/+2
|
* add firmware loader written in C (based on hotplug2) (mga#6323)Thierry Vignaud2012-09-173-1/+97
|
* death to tokenring!Thierry Vignaud2012-09-121-1/+1
|
* 1.72Thierry Vignaud2012-09-072-1/+2
|
* (ftp_prepare) retry with FTP instead of HTTP when there's no proxy andThierry Vignaud2012-09-072-1/+6
| | | | | | | user didn't provided the architecture in the URL (small issue introduced in commit r2774 on 2012-01-23, was: "(ftp_prepare) try arched directory for FTP installs too...")