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 | 1 | -2/+2 |
| | | | | | | | | | | | | 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: Move the symlink creation from stage1 to init. | Colin Guthrie | 2013-10-29 | 1 | -31/+0 |
| | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | kill long dead argument | Thierry Vignaud | 2013-03-23 | 1 | -6/+6 |
| | | | | the "Additional Drivers floppy" is long dead | ||||
* | (my_insmod) rename as (my_modprobe) as it really what it is | Thierry Vignaud | 2013-03-23 | 1 | -6/+6 |
| | |||||
* | kill firmware loader now that firmware are loaded by the kernel | Thierry Vignaud | 2012-12-21 | 1 | -1/+0 |
| | |||||
* | (handle_hid) s/hid-generic/hid_generic/ thus making hid_generic loading silent | Thierry Vignaud | 2012-09-03 | 1 | -1/+1 |
| | | | | rationale: it fixes detecting if module was already loaded or not | ||||
* | (handle_hid) load hid-generic | Thierry Vignaud | 2012-08-31 | 1 | -0/+1 |
| | |||||
* | kill dead emails | Thierry Vignaud | 2012-01-27 | 1 | -1/+1 |
| | |||||
* | (handle_pcmcia) kill obsolete test for 2.2 kernel (patch from tv) | Thomas Backlund | 2011-12-28 | 1 | -4/+0 |
| | |||||
* | - load needed modules for known virtio devices, fixes #51804 | Bogdano Arendartchuk | 2009-08-31 | 1 | -0/+2 |
| | |||||
* | set uevent helper which will load firmware and do not set firmware | Pascal Terjan | 2009-04-22 | 1 | -1/+1 |
| | | | | timeout to 1 second (it will fail if firmware is not there) | ||||
* | Don't compile hande_hid when compiling in NETWORK_STANDALONE mode | Christophe Fergeau | 2009-04-07 | 1 | -1/+1 |
| | |||||
* | Load HID modules in stage1, fixes #47167 | Christophe Fergeau | 2009-04-03 | 1 | -0/+15 |
| | |||||
* | mandrake is now mandriva | Thierry Vignaud | 2009-03-06 | 1 | -2/+2 |
| | |||||
* | do not define unused functions in network standalone mode | Olivier Blin | 2008-06-12 | 1 | -0/+2 |
| | |||||
* | do not set firmware timeout to 1 second in probe-modules helper for Mandriva ↵ | Olivier Blin | 2008-03-31 | 1 | -0/+1 |
| | | | | One (#39216) | ||||
* | clear tty2 after shell is killed | Olivier Blin | 2008-02-28 | 1 | -1/+3 |
| | |||||
* | log "killed shell" message on tty3 | Olivier Blin | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | fix indentation | Olivier Blin | 2008-02-28 | 1 | -3/+3 |
| | |||||
* | - move parameters functions in params.c | Olivier Blin | 2007-07-05 | 1 | -0/+1 |
| | | | | | - move string/system utility functions in utils.c | ||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 1 | -214/+20 |
| | |||||
* | ka support (initially from Antoine Ginies and Erwan Velu) | Olivier Blin | 2005-08-28 | 1 | -0/+11 |
| | |||||
* | add thirdparty_load_media_modules(), try to find third party modules on the ↵ | Olivier Blin | 2005-04-04 | 1 | -0/+3 |
| | | | | install media | ||||
* | - merge update_modules stuff in third-party module | Olivier Blin | 2005-03-16 | 1 | -2/+2 |
| | | | | | | | - add "thirdparty" as an alias for the "updatemodules" option - allow to specify thirdparty device using automatic "thirdparty" option - try to mount as iso9660 too in try_mount | ||||
* | fix pcmcia modules loading | Olivier Blin | 2005-03-15 | 1 | -0/+3 |
| | |||||
* | expert mode is dead | Olivier Blin | 2005-03-09 | 1 | -1/+1 |
| | |||||
* | do not ask for third party modules here, it's available from main menu | Olivier Blin | 2005-03-09 | 1 | -3/+0 |
| | |||||
* | allow to use new third party stuff from main menu | Olivier Blin | 2005-03-09 | 1 | -62/+9 |
| | |||||
* | probe usb devices before trying to use third party modules | Olivier Blin | 2005-03-09 | 1 | -3/+3 |
| | |||||
* | set MODE_TESTING too if DEBUGSTAGE1 is set | Olivier Blin | 2005-03-04 | 1 | -1/+3 |
| | |||||
* | add a dhcp-client built using mdk-stage1 code | Pascal Rigaux | 2005-01-31 | 1 | -0/+13 |
| | |||||
* | - have nothing talking about interactive when SPAWN_INTERACTIVE is unset | Pascal Rigaux | 2005-01-31 | 1 | -3/+8 |
| | | | | | - same for SPAWN_SHELL | ||||
* | ensure switching between different install methods do not break due to ↵ | Pascal Rigaux | 2005-01-28 | 1 | -0/+3 |
| | | | | IMAGE_LOCATION (/sysroot/tmp/image can be either symlink or a directory) | ||||
* | factorize the distrib version | Pascal Rigaux | 2005-01-15 | 1 | -8/+2 |
| | |||||
* | use /etc/init instead of /sbin/init to allow umounting clp in init | Pascal Rigaux | 2005-01-12 | 1 | -1/+6 |
| | |||||
* | ensure /tmp/syslog in stage2 contains the full log | Pascal Rigaux | 2005-01-03 | 1 | -1/+5 |
| | | | | | (currently stage2 init was writing in a file shadowed by stage2 copying the /stage1/tmp/syslog over its file) | ||||
* | create unset_automatic() | Pascal Rigaux | 2004-12-20 | 1 | -4/+2 |
| | |||||
* | - drop oem & recovery code (which was broken) | Pascal Rigaux | 2004-11-29 | 1 | -8/+1 |
| | | | | | - will be replaced with a root password + user accounts + network configuration a la drakfirsttime | ||||
* | keep the tmpfs and rescue in /tmp/stage2 | Pascal Rigaux | 2004-11-05 | 1 | -18/+29 |
| | | | | | (this allows to mount the rescue read-only) | ||||
* | - create mount_clp_may_preload() out of handle_clp() | Pascal Rigaux | 2004-11-04 | 1 | -34/+16 |
| | | | | | - rename handle_clp() to handle_move_clp() and simplify its use | ||||
* | IMAGE_LOCATION_REAL is better named STAGE2_LOCATION in MOVE | Pascal Rigaux | 2004-11-04 | 1 | -4/+4 |
| | |||||
* | replace RAW_LOCATION_REL with IMAGE_LOCATION_REL | Pascal Rigaux | 2004-11-04 | 1 | -4/+4 |
| | | | | | (the absolute symlink will now be relative, but that's ok here) | ||||
* | simplify since STAGE2_LOCATION is now valid for live installs before pivot_root | Pascal Rigaux | 2004-11-04 | 1 | -5/+2 |
| | | | | | (due to previous stage1.c commit) | ||||
* | STAGE2_LOCATION symlink is now relative instead of absolute | Pascal Rigaux | 2004-11-04 | 1 | -2/+2 |
| | | | | | (relies on the fact that STAGE2_LOCATION and IMAGE_LOCATION are both in /tmp in non MOVE) | ||||
* | rename STAGE2_LOCATION_REL into STAGE2_LOCATION_ROOTED | Pascal Rigaux | 2004-11-04 | 1 | -2/+2 |
| | | | | | (since STAGE2_LOCATION_REL is not relative, it's simply absolute when chrooted) | ||||
* | create STAGE2_LOCATION symlink if it is not a directory (well more precisely ↵ | Pascal Rigaux | 2004-11-04 | 1 | -1/+1 |
| | | | | when it doesn't exist) | ||||
* | LIVE_LOCATION is better named LIVE_LOCATION_REL without the leading "/" | Pascal Rigaux | 2004-11-04 | 1 | -4/+4 |
| | |||||
* | compile less things when MANDRAKE_MOVE is defined | Pascal Rigaux | 2004-11-02 | 1 | -3/+7 |
| | | | | | (needed so that future commits can restrict define's in config-stage1.h) | ||||
* | revert previous commit, that won't work after pivot_root (proc has to | Olivier Blin | 2004-07-30 | 1 | -6/+3 |
| | | | | | | be mounted, insmod would have to be able to find the modules in the new root) |