summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
Commit message (Collapse)AuthorAgeFilesLines
* rescue: Mask an unimportant error when loading kernel modules.Colin Guthrie2013-12-071-0/+3
| | | | | Particularly the floppy module fails quite regularly. That said, do we even need floppy support these days?
* rescue: Tidy up dirs and aliasesColin Guthrie2013-12-071-13/+7
| | | | | | | | | Technically, because we don't actually switchroot into this filesystem we don't need some of the directories and symlinks (as they are already present in the initrd). But with a long term view to making this a "real" filesystem that we DO switchroot into, it makes sense to try and keep things vaguely valid.
* rescue: add machined (and dbus as a dep) to the rescue.Colin Guthrie2013-12-071-0/+1
| | | | | | | | | | | | | This allows us to actually mount and run the system inside a container for more advanced debugging. I've successfully booted my systemd, logged in, had a fiddle and then powered it off again. There are some delays and it's requried to umount the /mnt/proc which seems to get automatically mounted before running nspawn. Also audit support has to be turned off in the kernel too to allow a full boot to work properly (otherwise the authentication in the container doesn't work. This is a known problem in the kernel and will be fixed eventually.
* rescue: Use systemd as initsystem.Colin Guthrie2013-12-071-5/+8
| | | | | | | | | | | | | | | This commit converts the rescue system to systemd rather than the legacy sysvinit. Besides being faster, one primary advantage of running systemd here is that we can "boot" the system we're inspecting via systemd-nspawn to properly test it. Note: Bits that don't work: * nspawn * old dracut initqueue udev rules in /etc/ are not cleaned out (drop in support error?) * the gui may loop differently now
* rescue: Avoid having to run dracut convertfs script by setting up the tree.Colin Guthrie2013-12-071-6/+9
| | | | | | We can easily avoid post processing the tree simply by moving the tree around and ensuring we set it up correctly (with the compat symlinks) early in the process.
* really adapt to /usr move (fix lvm2 freezing, mga#5795)Thierry Vignaud2013-04-061-5/+4
|
* minimal adapt to /usr moveThierry Vignaud2012-09-031-0/+5
|
* fix "not enough parameters" and actually display error messagesThierry Vignaud2012-05-231-1/+1
| | | | bug for 11+ years...
* really fix mounting /dev/pts & /dev/shm (mga#1023)Thierry Vignaud2012-02-251-2/+0
|
* drop support for squashfs3Thierry Vignaud2012-01-251-1/+1
|
* do not make de-latin1 keymap a symlink/include loop (#45109)Olivier Blin2009-10-091-1/+1
|
* work both with squashfs 3 and 4Pascal Terjan2009-09-211-1/+1
|
* use squashfs3 file system on flash rescue systemChristophe Fergeau2009-06-231-1/+1
|
* drop support for special partimage rpm, changes are merged in the main packageOlivier Blin2008-06-131-4/+0
|
* merge partimage hooks in real rc.sysinit (and drop hardcoded leia)Olivier Blin2008-06-131-25/+1
|
* remove dead code (done by install-xml-file-list now)Olivier Blin2008-06-121-20/+0
|
* remove unused variableOlivier Blin2008-06-121-1/+0
|
* revert unwanted commitsOlivier Blin2008-02-281-1/+1
|
* 1.8Olivier Blin2008-02-281-1/+1
|
* - loadkeys file:Pascal Rigaux2007-08-081-4/+5
| | | | | | | o handle new "kbd" rpm which have .map files instead of .kmap o don't skip fr_CH-latin1 o handle "fr_CH"-like short names
* re-sync after the big svn lossPascal Rigaux2007-04-251-18/+9
|
* remove debug codePascal Rigaux2006-02-281-1/+0
|
* handle BOX=... on cmdlinePascal Rigaux2006-02-281-2/+5
|
* simplify (since partimage_whole_disk rest_all doesn't handle multi dirs anymore)Pascal Rigaux2006-02-281-5/+2
|
* partimage_whole_disk takes care of configuring network when neededPascal Rigaux2005-11-101-2/+2
|
* minimal i18n supportPascal Rigaux2005-11-101-0/+7
|
* reboot if things went nicelyPascal Rigaux2005-10-201-4/+0
|
* fix reboot by creating /dev/initctl (what's this??)Pascal Rigaux2005-10-201-0/+1
| | | | | (it was broken when called in rc.sysinit, it was working otherwise)
* - create kernel/RPMS/ to copy rpms before expanding them in kernel/all.kernelsPascal Rigaux2005-05-231-1/+1
| | | | | | - remove old compatability code - add some doc in update_kernel
* use install-xml-file-listPascal Rigaux2005-05-191-63/+13
|
* - handle multiple data dirsPascal Rigaux2005-05-101-6/+12
| | | | | - choose a free data dir if the given one already exists
* fix (for list_modules.pm)Pascal Rigaux2005-05-101-1/+1
|
* Sometimes this tries to copy a directoryRafael Garcia-Suarez2005-05-041-1/+1
|
* use get-needed-drakx-modules to handle perl scripts using DrakX modulesPascal Rigaux2005-04-211-18/+20
|
* we now use script partimage_whole_disk around partimagePascal Rigaux2005-04-131-5/+24
|
* take care of lib64 platforms, also add msboot restorer to x86_64 treeGwenolé Beauchesne2005-03-251-2/+2
|
* - in rest_all, try to restore from the cdromPascal Rigaux2005-02-281-2/+6
| | | | | - remove the debugging setting of leia as the partimage server
* add a basic partimage save_all/rest_all featurePascal Rigaux2005-02-021-0/+16
|
* add a dhcp-client built using mdk-stage1 codePascal Rigaux2005-01-311-1/+2
|
* factorize the distrib versionPascal Rigaux2005-01-151-0/+1
|
* fix typo and perl_checker compliancePascal Rigaux2004-12-021-9/+10
|
* remove temporary directoryPascal Rigaux2004-12-021-0/+1
|
* - no more kernel/all.modules, things are in kernel/all.kernelsPascal Rigaux2004-11-221-3/+2
| | | | | | | | | | | | | - cleanup what we keep in kernel/all.kernels: only vmlinuz, modules.dep, *.mar, all_modules.tar, modules.cz - replace all_modules.list + modules with all_modules.tar - kernel/all.modules/modules.cz-VERSION are now in kernel/all.kernels/VERSION/modules.cz - allow having a normal in isolinux, but don't use it for floppy images (for this, add kernel/all.kernels/.main-BOOT) - add many modules kernel/list_modules.pm in unused categories since we don't take all modules from kernel, only those listed (needed to have a not too big modules.cz for normal kernel) - complete rewrite of update_kernel (now written in perl)
* major switch from ramdisk to clpPascal Rigaux2004-11-161-26/+2
| | | | | | | | | | | | | - mdkinst_stage2.bz2 is now mdkinst.clp - rescue_stage2.bz2 is now rescue.clp - make_mdkinst_stage2 is now mdkinst_stage2_tool (we don't keep the live when building the clp, mdkinst_stage2_tool is able to create the clp from the live, or the live from the clp) - all stage1 images now need cryptoloop & gzloop - the clp can be preloaded in memory or not (see MEM_LIMIT_DRAKX_PRELOAD and MEM_LIMIT_RESCUE_PRELOAD) (for http & ftp, it *must* be preloaded) - we don't uncompress the ramdisk anymore since the decompression is done on the fly, this makes the rescue boot much faster - function get_ramdisk_realname() is replaced with macro CLP_FILE_REL
* umount mount point instead of umounting the loopback filePascal Rigaux2004-08-101-2/+2
| | | | | (works better when /etc/mtab is /proc/mounts)
* use "*" instead of PERL_VERSION in list, but ensure only one matchPascal Rigaux2004-07-091-4/+10
|
* fix /sbin/insmod /sbin/rmmod and /sbin/lsmod which were dead symlinksPascal Rigaux2003-08-031-4/+4
| | | | | (to /etc/alternatives/something)
* While stripping libraries, note that we may need to have both /lib andGwenolé Beauchesne2002-08-011-1/+2
| | | | | /lib64 on biarch systems.
* - MDK::Common'ize for arch() supportGwenolé Beauchesne2002-08-011-8/+5
| | | | | | - Don't grab /lib/i686/ libraries - Update list to use LIB which expands to either lib64 or lib
* adapt to the move all.modules -> kernel/all.modules and all.kernels -> ↵Pascal Rigaux2002-07-041-3/+5
| | | | kernel/all.kernels