Last change
on this file since 2462 was 2462, checked in by Bruno Cornec, 15 years ago |
r3548@localhost: bruno | 2009-10-16 19:18:27 +0200
- mindi now boots in a QEMU VM without busybox
- mindi is now noarch as a consequence
- MINDI_LIB becomes MINDI_DATA for coherency and as a consequence
- CACHEDIR becomes MINDI_CACHE for coherency and it's a build parameter and not hardcoded anymore in mindi
- THat variable is also used at restore time for mondorestore.cfg e.g.
- FAILSAFE kernel is gone. Just use another kernel of your choice. Most std kernels work anyway
- TurnTgzIntoRdz rewritten and now really computes data disk size and not suppose its size
- Interface mondo/mindi changed again => incompatible
- Non-bootable media not supported anymore.
- Mondorescue adapted to these changes but not tested yet
- Doc updated as well
|
-
Property svn:keywords
set to
Id
|
File size:
649 bytes
|
Rev | Line | |
---|
[1] | 1 | #!/bin/sh
|
---|
[275] | 2 | #
|
---|
| 3 | # $Id: hack-cfg-if-necessary 2462 2009-10-20 14:07:00Z bruno $
|
---|
| 4 | #
|
---|
[1] | 5 |
|
---|
| 6 | if ! mount | grep cdrom ; then
|
---|
| 7 | LogIt "CD-ROM is not mounted. Darn."
|
---|
| 8 | exit 0
|
---|
| 9 | fi
|
---|
| 10 |
|
---|
| 11 | if ! ls /mnt/cdrom/archives/* > /dev/null 2> /dev/null ; then
|
---|
| 12 | LogIt "Can't find /mnt/cdrom/archives; darn."
|
---|
| 13 | exit 0
|
---|
| 14 | fi
|
---|
| 15 |
|
---|
| 16 | LogIt "OK, we've found /mnt/cdrom/archives/*; great."
|
---|
| 17 |
|
---|
[2462] | 18 | if ! grep "backup-media-type iso" $MINDI_CACHE/mondorestore.cfg 2 > /dev/null ; then
|
---|
[1] | 19 | LogIt "Config file is fine, BTW."
|
---|
| 20 | exit 0
|
---|
| 21 | fi
|
---|
| 22 |
|
---|
[2462] | 23 | LogIt "Re-jigging mondorestore.cfg because you backed up to ISOs and then burned them to CDs" 1
|
---|
| 24 | sed -i 's/backup-media-type iso/backup-media-type cdr/' $MINDI_CACHE/mondorestore.cfg
|
---|
[1] | 25 | LogIt "Done re-jigging. Yay."
|
---|
| 26 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.