summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
Commit message (Collapse)AuthorAgeFilesLines
* Remove things from scripts/ that lorax obsoletes.Chris Lumens2011-07-071-553/+0
|
* Conditionalize use of UEFI on boot.isoPeter Jones2011-01-141-3/+5
| | | | This conditionalizes adding support for UEFI when creating boot.iso
* iscsi: partial offload drivers.Ales Kozumplik2010-12-031-1/+1
| | | | | | | Includes brcm_iscsiuio daemon for bnx2i cards as well as loading the drivers and spawning the daemons in stage2 storage code. Related: rhbz#442980
* Only build EFI images on x86_64 (jlaska, #646869).Chris Lumens2010-10-271-1/+2
|
* Fix two problems with initrds for multipla kernels during a pungi compose.Ales Kozumplik2010-10-271-0/+3
| | | | | | | | | | | | | | | | | For i386, pungi hanged when PAE kernel modules are gathered: this was because we extracted the PAE modules into the same location as the non-PAE modules previously. By this time, non-PAE modules exist compressed with .gz. When mk-images runs gzip on the new modules, it interactively asks user whether it should owerwrite the compressed (non-PAE) files. Pungi doesn't show you the prompt so all you see is that it hangs. This is not observable with x86_64 composes since they only produce one kernel. Neither is it observable with any pungi composes run via cron since (my explanation) cron closes stdin for pungi, gzip inherits that and assumes 'no' for overwriting files, producing a corrupted initrd.img in the process. The second problem was that our PAE initrds have always contained both sets of modules, thus making them 20 MB larger then necessary.
* Fix up copying of firmware.Chris Lumens2010-10-151-6/+6
|
* Step 3 of merging installer images: No longer create install.img.Chris Lumens2010-10-151-66/+0
|
* makeinstimage is no longer used.Chris Lumens2010-10-151-29/+0
|
* instbin is no longer used.Chris Lumens2010-10-151-49/+0
|
* A couple minor changes to mk-images.Chris Lumens2010-10-151-12/+12
| | | | | | First, change --initrdto to --dest. That seems more clear to me. Second, have makeinitrd operate on $IMGPATH instead of $MBD_DIR. That no longer exists.
* Step 2 of merging installer images: Move most everything out of makeinitrd.Chris Lumens2010-10-151-221/+2
| | | | | | There's no need for all this file creation, installation, and copying to exist in makeinitrd when it could just as easily be in upd-instroot with everything else.
* Step 1 of merging installer images: Don't copy files into a new root.Chris Lumens2010-10-151-270/+0
| | | | | | This eliminates almost all the calls to instbin in makeinitrd. Since the images are being merged, there's no need to copy to a second root just to pack them up there.
* Add files for polkit to initrd.img (#633315)Radek Vykydal2010-09-171-1/+8
| | | | | | | | | | | | | | NetworkManager now requires polkitd running in stage 1. We need to add these files: /usr/libexec/polkit-1/polkitd /lib/libpolkit-backend-1.so.0 /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy /usr/share/polkit-1/actions/org.freedesktop.consolekit.policy /usr/share/polkit-1/actions/org.freedesktop.modem-manager.policy /usr/share/polkit-1/actions/org.freedesktop.network-manager-settings.system.policy /usr/share/polkit-1/actions/org.freedesktop.policykit.policy
* Remove BETANAG, instead reading it from .buildstamp (#628688).Chris Lumens2010-09-101-0/+6
| | | | | | | | By passing buildinstall --isbeta, this in turn gets passed to mk-images which will then write out IsBeta=true to the .buildstamp file. anaconda can then read that and make the right decision. liveinst has to be different, of course.
* Convert .buildstamp into a .ini-style file.Chris Lumens2010-09-101-6/+7
|
* Remove productPath.Chris Lumens2010-09-091-1/+1
| | | | | This hasn't been used or written to .buildstamp for two years, so its continued use in anaconda was just an accident of us continuing to set it to a default.
* NetworkManager uses a different config file now (#623937).Chris Lumens2010-08-181-1/+1
| | | | | We now need to include NetworkManager.conf instead of nm-system-settings.conf due to a packaging change.
* Remove the final use of $LOADERBIN from scripts.Chris Lumens2010-08-131-1/+1
|
* The --loaderbin parameter to makeinitrd is unused. Kill it.Chris Lumens2010-08-031-9/+0
|
* The --initrdsize parameter to makeinitrd is unused. Kill it.Chris Lumens2010-08-031-9/+0
|
* Include modprobe file for Mellanox 10GB driver (#611997)David Cantrell2010-07-281-0/+5
| | | | Include /etc/modprobe.d/libmlx4.conf from the libmlx4 package.
* logging: remote logging for traceback dumps.Ales Kozumplik2010-07-261-0/+6
| | | | | | | | Because the names of the traceback files are not known in advance and there can be many of them, this patch appends every new traceback into /tmp/anaconda-tb-all.log. This file is then forwarded over. Related: rhbz#576439
* logging: also log X.log remotelyAles Kozumplik2010-07-261-0/+6
| | | | Related: rhbz#576439
* logging: autodetect the virtio-serial port.Ales Kozumplik2010-07-261-1/+1
| | | | | | | | | | | Discussed with jlaska and amit. Removes the virtiolog= command line parameter again, istead we will always look for /dev/virtio-ports/org.fedoraproject.anaconda.log.0 and forward logs to it if it exists. In theory, with some cooperation from the libvirt team, this could ensure every F14 installation has remote logging set up, ready to be picked on the host. Related: rhbz#576439
* Make the shell in tty2 and ssh all go to /root like on a real system.Peter Jones2010-07-221-3/+7
| | | | | | | ssh was already droping you there (though I'm not entirely sure where the directory is coming from in that case), and you'd not have .bash_history and .profile and .gdbinit. So now everything uses /root , and you get the stuff you might expect.
* logging: support logging through virtio-serial (#576439).Ales Kozumplik2010-07-201-0/+1
|
* Add uname to initrd.img (#614770)David Cantrell2010-07-161-0/+1
|
* Include /sbin/blkid in the initrd.imgDavid Cantrell2010-06-101-0/+1
| | | | | Related: rhbz#591970 Related: rhbz#599197
* Add some more stuff to .bash_historyPeter Jones2010-05-251-0/+3
| | | | Add commands I wind up using often to .bash_history .
* Change the configuration of depmod and link modules to better place (#593941)Martin Sivak2010-05-241-1/+1
| | | | | | Depmod doesn't support absolute paths so far, so we have to use small workaround. COnfigure it to prefer lib/modules/<kernel>/updates and make updates a symlink to /tmp/DD/lib/modules. This way depmod -a should see the modules and modprobe too...
* Add missing rpm macros file to get rid of the rpm warningsMartin Sivak2010-05-201-0/+2
| | | | Related: rhbz#593941
* Add the rpmrc file to the initrd.img (#508242)Martin Gracik2010-05-201-0/+3
| | | | | We need to have this file so the rpm routines don't show up warnings that it's missing.
* Move depmod configuration into new directory structure to get rid of depmod ↵Martin Sivak2010-05-181-1/+2
| | | | warning (#508242)
* Add lsof command to initrd.imgMartin Gracik2010-05-171-0/+1
|
* Rename geninitrdsz.c to addrsize.c (#546422)David Cantrell2010-05-061-1/+1
| | | | | | | Rename the geninitrdsz.c program to addrsize.c to more accurately reflect what it's generating. Update Makefile.am and its usage in the buildinstall scripts. The load address is provided as a shell variable in scripts/mk-images.s390.
* fcoe: use fipvlan instead of fcoemon to bring up fcoe (#486244)Hans de Goede2010-05-061-1/+1
|
* memory: build auditd as a standalone binary and run it so (#549653).Ales Kozumplik2010-05-061-0/+2
| | | | | | Instead of just forking, we fork() anaconda and then execv our custom audit daemon. This saves us an extra anaconda process running permanently, taking memory.
* Link /sbin/reboot and /sbin/halt to /sbin/init on s390x (#571370)David Cantrell2010-05-051-2/+2
| | | | | The linuxrc.s390 script is installed as /sbin/init, not /sbin/linuxrc.s390.
* Wait for scsi adapters to be done with scanning their busses (#583143)Hans de Goede2010-04-301-1/+1
|
* Add /sbin/reboot and /sbin/halt to s390 initrd.img (#571370)David Cantrell2010-04-141-0/+4
| | | | | | Necessary for reboot or halt support from rescue mode. Since linuxrc.s390 currently does everything on s390x, add in handlers for reboot and halt modes.
* Adjust paths that reference things that have moved.Chris Lumens2010-04-061-16/+16
|
* lang-table and lang-names have moved to /usr/share/anaconda.Chris Lumens2010-04-061-1/+1
|
* Include /sbin/*_cio_free commands in s390x initrd.img (#558881).David Cantrell2010-03-301-1/+5
| | | | | Add in missing /sbin/*_cio_free commands as well as the 'seq' command (used by the device_cio_free) script.
* Add nm-connection-editor to stage2 (#520146).Radek Vykydal2010-03-191-6/+9
|
* Include USB ATA bridge modules in initrd (#531532)Radek Vykydal2010-03-171-1/+2
| | | | | | I just took David Cantrell's patch for ppc64 from the bugzilla and applied it to all architectures as a comment in bugzilla states that the bug applies to x86 too.
* Add python-devel's gdbinit, which provides useful debugging macros.Peter Jones2010-02-261-0/+2
| | | | | This has to go in initrd.img instead of install.img because it needs to be in $HOME, which is the root directory.
* Minor style fix (indent "cat" correctly")Peter Jones2010-02-261-2/+2
| | | | | "cat" should be indented the same as other commands in this function, even though the trailing lines are /correctly/ unindented.
* Revert "There is no kernel-PAE package anymore, use kernel for xen (#559347)."David Cantrell2010-02-241-3/+2
| | | | | | | This reverts commit f264631d276d7749daf0d95320921f061599e666. This patch is incorrect for at least Fedora, possibly for RHEL-6, but that needs separate testing. Reverting this patch lets Fedora images build correctly.
* Revert "Add back hald for Xorg input device queries (#553780)"Chris Lumens2010-02-231-16/+0
| | | | | This reverts commit 829bd5980b4c386de48b1a8274b499fe97c1b7dc. X was the only thing still using hal, and it no longer is.
* No longer remove persistent udev rules files (#566948).Chris Lumens2010-02-231-1/+0
| | | | | | One of these files provides the information needed to make the new X input configuration work. Also, the rules removal should no longer be necessary given that we don't make our own device nodes.