Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
2011-02-02 16:35:18 +01:00
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
2011-02-02 13:56:03 +01:00
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
2010-10-28 17:11:27 +02:00
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
2010-09-10 15:34:36 +02:00
Amadeusz Żołnowski
f3af7bd66b
use 'type' built-in instead of external cmd 'which' in every Bash script
2010-08-23 11:54:09 +02:00
Harald Hoyer
c492fe12c0
init: create /dev/.udev/rules.d with correct permissions
2010-08-02 15:58:48 +02:00
Harald Hoyer
e0c1d4e79f
mkdir /dev/.udev/rules.d with mode 0755
2010-08-02 15:26:55 +02:00
Harald Hoyer
91bb250aed
dmsquash-live: do not umount /dev/.initramfs/live for cdrom_id to work
2010-07-09 11:18:31 +02:00
Harald Hoyer
06f91665df
dmsquash-live: depend on dm module
2010-07-08 16:14:55 +02:00
Harald Hoyer
847b618b4c
dmsquash-live: mount live image at /dev/.initramfs/live
2010-07-06 10:19:02 +02:00
Harald Hoyer
185468f57d
dmsquash, resume: do not name the /dev/.udev/rules like the /etc ones
2010-06-25 11:42:51 +02:00
Harald Hoyer
ae5ec68355
Write rules for symlinks to /dev/.udev/rules.d for later usage
...
We want some symlinks to persist in the real root, so we write them to
/dev/.udev/rules.d, that they survive a retrigger.
2010-06-22 10:30:39 +02:00
Harald Hoyer
b6a7c09070
chmod 0755 *.sh
2010-05-19 09:40:48 +02:00
Joey Boggs
fbf1b5b138
teach dmsquash-live-root to use rootflags
2010-04-13 16:02:10 +02:00
Harald Hoyer
de50046cd7
dmsquash-live-root: use blockdev with --getsz
...
Thanks Karel for pointing this out.. again :)
2010-03-04 16:49:51 +01:00
Harald Hoyer
aab70adc0b
dmsquash-live: use --getsize64 instead of --getsize
2010-03-04 14:06:48 +01:00
Joey Boggs
7baade2b87
add readonly overlay support for dmsquash
...
Adds the readonly_overlay karg for cases where the dm snapshot should be set to readonly. Use case would be a livecd that is configured to have a readonly root where filling up the dm snapshot would cause a problem.
2010-03-04 14:06:47 +01:00
Harald Hoyer
1cf0b1750b
removed cdrom hack for live CDs
...
The hack does not work reliable for CDROMs with the firmware bug.
We have really to fix cdrom_id.
2010-02-15 09:55:20 +01:00
Munehiro Matsuda
651f3f3d1a
dmsquash: add support for loopmounted *.iso files
...
https://bugzilla.redhat.com/show_bug.cgi?id=548283
2010-01-14 16:47:16 +01:00
Harald Hoyer
71cfa2e225
dmsquash: add nasty hack for cdroms
...
Some CDROMs do not generate a label symlink and have to be read from.
2010-01-12 15:08:54 +01:00
Philippe Seewer
2e6b98c7f6
All module scripts should have a shebang
2009-11-27 14:07:21 +01:00
Warren Togami
24dcacc78f
dmsquash-live-root requires grep
2009-10-13 16:23:56 -04:00
Harald Hoyer
cdc74b198e
dmsquash-live: run dmsquash-live-root after udev settle
2009-10-07 12:49:52 +02:00
Harald Hoyer
ec01ab23fb
dmsquash: use info() and die() rather than echo
2009-10-01 18:43:35 +02:00
Warren Togami
845dd50275
Removing umount appears to be a mistake, it seems to have been OK prior.
2009-09-23 15:16:59 -04:00
Warren Togami
23aa204856
Fix LiveCD boot regression caused by bf55e2c5d3
...
FIXME: There is still something wrong with this boot where it wants to use umount, but doing so breaks live boot.
2009-09-21 18:14:27 -04:00
Harald Hoyer
fc1abcfa1f
dmsquash-live: add initqueue-finished
2009-09-19 10:51:34 +02:00
Warren Togami
bf55e2c5d3
dmsquash-live-root requires umount
2009-09-15 17:17:57 -04:00
Harald Hoyer
273b197d75
added initqueue-settled and refactored code
2009-09-07 19:12:01 +02:00
Jeremy Katz
a607b7d4b8
Fix syntax error in conditional
...
Fix a typo in the conditionals. Not sure how I didn't notice these
before
2009-08-19 10:34:06 +02:00
Harald Hoyer
f905c1d7d6
dmsquash-live: install the "real" eject
...
eject might be a symlink to consolehelper
2009-08-14 17:27:49 +02:00
Jeremy Katz
cc0e7a369b
Parse options earlier for live root
2009-08-04 16:25:43 +02:00
Jeremy Katz
7f819d7041
Support resetting the live overlay
...
If you're using a persistent overlay, you might want to reset it
at boot time if it has become corrupted somehow. Support using
reset_overlay as a command line optino to do so
2009-08-04 16:25:43 +02:00
Jeremy Katz
dfba82b3d3
And support passing in the persistent overlay
...
The persistent overlay can be specified with an overlay= argument
on the command line. We'll probably try to move this into the
root= syntax soon, but this is the old way that works
2009-08-04 16:25:43 +02:00
Jeremy Katz
3ae2f09a04
Support passing live_ram
...
live_ram allows you to load the entirety of the live image into
RAM and run it from there rather than off of the block device
2009-08-04 16:25:43 +02:00
Jeremy Katz
a2a2a956dd
Support passing the live_dir with live_dir=
...
The live image is assumed to be under LiveOS/ unless live_dir
is passed specifying otherwise
2009-08-04 16:25:43 +02:00
Jeremy Katz
fa9d7304bf
Support old syntax
...
livecd-creator previously added 'liveimg' and used root=CDLABEL=;
it's easy enough to support that old syntax for now at least
and it will make it easier to get people testing
2009-08-04 16:25:43 +02:00
Jeremy Katz
c56b63d1bd
Support checking the iso
...
Support checking the iso image with checkisomd5 if available
2009-08-04 16:25:43 +02:00
Jeremy Katz
2e44f115b9
Add basic support for dmsquashed live images
...
Fedora/Red Hat live images are implemented as an ext3fs inside of
a squashfs. Writability is achieved with a device-mapper snapshot
on top of that.
This gives the basic support without a lot of things like persistent
overlays, iso md5sum checking, etc and also with a new basic syntax
that has to be specified as root=live:LABEL=...
2009-08-04 16:25:42 +02:00