Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stage1: Switch to a new mode of knowing when to re-exec init. | Colin Guthrie | 2013-10-29 | 2 | -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 Guthrie | 2013-10-29 | 1 | -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 Guthrie | 2013-10-29 | 1 | -18/+0 |
| | | | | Dracut mounts these already. | ||||
* | stage1: Move the symlink creation from stage1 to init. | Colin Guthrie | 2013-10-29 | 7 | -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 shell | Colin Guthrie | 2013-10-29 | 1 | -1/+1 |
| | |||||
* | stage1: Switch to a shared stage1. | Colin Guthrie | 2013-10-29 | 3 | -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 path | Colin Guthrie | 2013-10-29 | 1 | -1/+1 |
| | |||||
* | stage1: Add .gitignore | Colin Guthrie | 2013-10-29 | 1 | -0/+13 |
| | |||||
* | 1.82 | Thierry Vignaud | 2013-10-14 | 2 | -1/+2 |
| | |||||
* | sync with kernel-3.12 | Thierry Vignaud | 2013-10-14 | 1 | -0/+2 |
| | |||||
* | 1.81 | Thierry Vignaud | 2013-10-10 | 2 | -1/+4 |
| | |||||
* | 1.80 | Thierry Vignaud | 2013-10-10 | 2 | -1/+5 |
| | |||||
* | Remove svn support from Makefiles | Colin Guthrie | 2013-09-04 | 1 | -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.79 | Thierry Vignaud | 2013-08-30 | 2 | -1/+2 |
| | |||||
* | fix invalid usage of memset() | Thierry Vignaud | 2013-08-30 | 2 | -1/+3 |
| | | | | | spot by gcc-4.8 introduced by Guillaume Cottenceau on Jan 8 2001 ("add dhcp") | ||||
* | 1.78 | Thierry Vignaud | 2013-03-30 | 2 | -1/+2 |
| | |||||
* | probe virtual drivers too (mga#9546) | Thierry Vignaud | 2013-03-30 | 2 | -2/+5 |
| | |||||
* | sort | Thierry Vignaud | 2013-03-30 | 1 | -1/+1 |
| | |||||
* | 1.77 | Thierry Vignaud | 2013-03-26 | 2 | -1/+2 |
| | |||||
* | kill now dead code | Thierry Vignaud | 2013-03-26 | 2 | -81/+0 |
| | |||||
* | use kmod for module loading (mga#9242, based on Pok works @mdv) | Thierry Vignaud | 2013-03-23 | 2 | -28/+74 |
| | |||||
* | kill long dead argument | Thierry Vignaud | 2013-03-23 | 13 | -55/+55 |
| | | | | the "Additional Drivers floppy" is long dead | ||||
* | (my_insmod) rename as (my_modprobe) as it really what it is | Thierry Vignaud | 2013-03-23 | 13 | -54/+54 |
| | |||||
* | do not reinvent kernel constants | Thierry Vignaud | 2013-03-23 | 2 | -17/+7 |
| | |||||
* | 1.76 | Thierry Vignaud | 2013-03-21 | 2 | -1/+2 |
| | |||||
* | revert patch introduced in r7542 | Maarten Vanraes | 2013-03-20 | 2 | -1/+10 |
| | |||||
* | revert the extra buildtarget introduced in revision 7542 | Maarten Vanraes | 2013-03-14 | 1 | -8/+0 |
| | |||||
* | - fix loading modules with "-" in their names (mga#9242) | Maarten Vanraes | 2013-03-13 | 3 | -10/+14 |
| | | | | - add an easy buildtarget for testing | ||||
* | 1.74.1 | Thomas Backlund | 2013-03-02 | 2 | -1/+2 |
| | |||||
* | update list_modules for xen dom0 and virtio support (#9242) | Thomas Backlund | 2013-03-02 | 1 | -0/+2 |
| | |||||
* | 1.74 | Thierry Vignaud | 2013-02-27 | 2 | -1/+2 |
| | |||||
* | fix unitialized memory screwing up dialog input (pok, mdv, mga#8729) | Thierry Vignaud | 2013-02-27 | 4 | -5/+6 |
| | |||||
* | kill bootsplash support (we drop bootsplash in kernel in 2008) | Thierry Vignaud | 2013-02-26 | 9 | -106/+4 |
| | |||||
* | kill firmware loader now that firmware are loaded by the kernel | Thierry Vignaud | 2012-12-21 | 5 | -110/+3 |
| | |||||
* | special case for libreoffice-langpack-br | Thierry Vignaud | 2012-12-21 | 1 | -5732/+560 |
| | |||||
* | include Parse::EDID for monitor-parse-edid (mga#8076) | Thierry Vignaud | 2012-11-15 | 1 | -560/+5732 |
| | |||||
* | add a FIXME note about loading every fs modules | Thierry Vignaud | 2012-09-20 | 1 | -0/+1 |
| | |||||
* | 1.73 | Thierry Vignaud | 2012-09-17 | 2 | -1/+2 |
| | |||||
* | add firmware loader written in C (based on hotplug2) (mga#6323) | Thierry Vignaud | 2012-09-17 | 3 | -1/+97 |
| | |||||
* | death to tokenring! | Thierry Vignaud | 2012-09-12 | 1 | -1/+1 |
| | |||||
* | 1.72 | Thierry Vignaud | 2012-09-07 | 2 | -1/+2 |
| | |||||
* | (ftp_prepare) retry with FTP instead of HTTP when there's no proxy and | Thierry Vignaud | 2012-09-07 | 2 | -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...") | ||||
* | (ftp_prepare,http_prepare) fix URL passed to stage2 when user didn't | Thierry Vignaud | 2012-09-07 | 2 | -3/+17 |
| | | | | provide the arch in the install path (mga#6823) | ||||
* | 1.71 | Thierry Vignaud | 2012-09-03 | 2 | -1/+2 |
| | |||||
* | (handle_hid) s/hid-generic/hid_generic/ thus making hid_generic loading silent | Thierry Vignaud | 2012-09-03 | 2 | -1/+3 |
| | | | | rationale: it fixes detecting if module was already loaded or not | ||||
* | 1.70 | Thierry Vignaud | 2012-09-03 | 2 | -1/+2 |
| | |||||
* | (http_prepare) s/ftp_prepare/http_prepare/ | Thierry Vignaud | 2012-09-03 | 1 | -1/+1 |
| | | | | as spoted on 2012-01-23, but branch never got branched | ||||
* | mount /dev/{pts,shm} earlier, in stage1 rather than in stage2 | Thierry Vignaud | 2012-09-03 | 1 | -2/+8 |
| | | | | (based on pok's idead @mdv but fixed) | ||||
* | mount /dev as devtmpfs earlier, in stage1 rather than in stage2 | Thierry Vignaud | 2012-09-03 | 2 | -1/+4 |
| | | | | (based on pok's idead @mdv but fixed) | ||||
* | create /sys at build time rather than run time | Thierry Vignaud | 2012-09-03 | 2 | -1/+2 |
| |