summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* stage1: Move the symlink creation from stage1 to init.Colin Guthrie2013-10-291-8/+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.
* (my_dirname) introduce a non segfaulting dirname()Thierry Vignaud2012-02-261-0/+14
|
* kill dead emailsThierry Vignaud2012-01-271-1/+1
|
* (memdup) rename as _memdup() in order to prevent a symbol clash with libkmodThierry Vignaud2012-01-131-2/+2
|
* (kernel_version) kill it, no more used and broken since the switch to ↵Thierry Vignaud2012-01-031-10/+0
| | | | kernel-3.x anyway
* mandrake is now mandrivaThierry Vignaud2009-03-061-2/+2
|
* fix build with gccOlivier Blin2007-11-161-0/+1
|
* move some code in new cat_file and line_counts functionsOlivier Blin2007-08-271-0/+33
|
* - move parameters functions in params.cOlivier Blin2007-07-051-0/+157
- move string/system utility functions in utils.c