summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* install/rescue: Adapt to a dracut based stage1.Colin Guthrie2013-10-296-22/+14
| | | | | | | | | | | The main change here is not remounting a fresh /run. Dracut does this for us and we actually need to keep this one as the initial udev database (when udev is started by dracut) is stored here and thus mounting an empty fs could see us lose some metadata. We no longer touch the /bin, /sbin or /lib[64] symlinks as these are already relative symlinks into /usr and simply bind mounting /usr is enough.
* 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
|
* images: Convert image generation to dracut.Colin Guthrie2013-10-293-19/+44
| | | | | | | | | | | | | | | | | | | | | | | This converts the initrd generation from a home grown system to dracut. It uses the upstream modules where possible plus two specially written dracut modules: mgainstaller and mgakadeploy. The initrds are identical for all builds and there are lots of bits that are incomplete and unnecesary. e.g. copying the kernels to a folder and then not using them, and also the module-descriptions file is not included in the initrd itself which it should be. We can probably customise the initrd better for different use cases, e.g. perhaps network stuff is not needed for HD based installs? We may also need to install the mdraid and lvm modules for some HD support. This is the first attempt so I expect various bits need fixing
* 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
|
* do not use arch dependant isolinux.bin anymoreennael2013-10-251-1/+1
|
* Merge branch 'master' of git://git.mageia.org/software/drakxennael2013-10-253-461/+471
|\
| * small fix in Slovenian translationfilip2013-10-241-4/+3
| |
| * small fix in Slovenian translationfilip2013-10-241-2/+3
| |
| * Update Russian translationYuri Chornoivan2013-10-241-420/+440
| |
| * fixed typo in Slovenian translationfilip2013-10-241-2/+2
| |
| * Slovenian translation updatedfilip2013-10-241-39/+29
| |
* | move isolinux in the root treeennael2013-10-221-5/+5
| |
* | copy images in $arch directory instead of alt0 for new syslinuxennael2013-10-221-2/+2
|/
* More fixes to Ukrainian translationYuri Chornoivan2013-10-161-3/+3
|
* Fix Ukrainian translationYuri Chornoivan2013-10-161-3/+3
|
* Do not add localhost to /etc/hosts as this is handled by nss-myhostnameOlav Vitters2013-10-151-3/+0
| | | | | The myhostname NSS module (which is default in nsswitch.conf) handles this happily.
* Remove "Clean /tmp at each boot" optionOlav Vitters2013-10-151-11/+3
| | | | | Not needed since systemd automatically already sets up /tmp using tmpfs. Proposed and accepted on dev mailing list.
* Update Ukrainian translationYuri Chornoivan2013-10-141-26/+16
|
* 1.45.1Thierry Vignaud2013-10-142-1/+3
|
* many btrfs tools no longer existThierry Vignaud2013-10-142-2/+4
|
* 1.45Thierry Vignaud2013-10-142-1/+3
|
* adapt to latest mdadmThierry Vignaud2013-10-142-2/+3
|
* 15.68.115.68.1Thierry Vignaud2013-10-142-1/+3
|
* adapt to latest mdadmThierry Vignaud2013-10-142-2/+4
|
* 15.6815.68Thierry Vignaud2013-10-143-1/+5
|
* list_modules.pm changes affect drakxtools & stage2 tooThierry Vignaud2013-10-142-0/+2
|
* 1.82Thierry Vignaud2013-10-142-1/+2
|
* 1.93Thierry Vignaud2013-10-142-1/+3
|
* sync with kernel-3.12Thierry Vignaud2013-10-143-6/+10
|
* Drop /etc/termcap as this is no longer included in our buildColin Guthrie2013-10-135-6/+2
|
* any: Fix path to urpmi.update (mga#11125)Colin Guthrie2013-10-132-1/+2
|
* finish-install: Do not check for /usr/sbin/urpmi.updateColin Guthrie2013-10-132-1/+3
| | | | | | | | | This file is now 'hidden' in /usr/libexec and only used via it's wrapper script in mgaonline. This was originally changed from /usr/bin/urpmi back in 2001 by Pixel, but the current path for urpmi is /usr/sbin/urpmi, which seems to be as reliable as urpmi.update was before.
* polkit: Use exec in wrapper scriptsColin Guthrie2013-10-121-1/+1
|
* i18n: Update poColin Guthrie2013-10-1170-1050/+4914
|
* i18n: Update potColin Guthrie2013-10-111-15/+65
|
* polkit: Handle some more binaries missed in the polkit conversion.Colin Guthrie2013-10-118-7/+147
| | | | mga#11125 mga#11418
* polkit: Shuffle around folders a bitColin Guthrie2013-10-1110-3/+3
|
* polkit: Generate wrapper scripts automatically from policy files.Colin Guthrie2013-10-119-21/+14
| | | | | | | This relies on the name of the policy files but that's fine. We no longer need to write lots of boiler plate wrapper scripts. mga#11125
* (dist) add as an alias on 'tar' ruleThierry Vignaud2013-10-101-0/+2
|
* 15.6715.67Thierry Vignaud2013-10-103-1/+5
|
* log kernel/list_modules.pm changesThierry Vignaud2013-10-102-0/+3
|
* 1.81Thierry Vignaud2013-10-102-1/+4
|
* better logThierry Vignaud2013-10-101-1/+1
|