summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
Commit message (Collapse)AuthorAgeFilesLines
* Add --brand switch support to buildinstall script.David Cantrell2009-09-221-6/+12
|
* make a call to rpmutils to get the basearch works on all arches that dont ↵Dennis Gilmore2009-09-161-3/+4
| | | | have anaconda built on the basearch
* Add --localscripts option to buildinstall.David Cantrell2009-08-271-31/+44
| | | | | | | | If you are working on the buildinstall scripts, you can pass the --localscripts option to buildinstall to force it to use the scripts from the current directory rather than downloading the anaconda RPM from the repo you specify, unpacking it, and using the scripts from there.
* Update EFI CD booting code in mk-imagesPeter Jones2009-05-071-2/+3
| | | | | Update the efi image creation code to reflect what we've actually been using for two plus months.
* Write the same arch to .discinfo as iutil.getArch() gives us (#490977).Chris Lumens2009-03-241-1/+1
|
* Generate valid treeinfo on i586Will Woods2009-02-251-2/+6
| | | | | | | | | | | | BUILDARCH is now i586, but mk-images is internally mapping that to i386. If mk-images and maketreeinfo.py disagree about the arch, we end up with an invalid treeinfo file - the "arch" value won't match any images-$arch section. And then virt-install and other things can't find kernel images and stuff goes kaboom. Therefore: explicitly pass BASEARCH to mk-images, rather than relying on the implicit mapping therein, and pass the same value to maketreeinfo.py.
* Let's use the product string for a brandpackage name.Jeroen van Meeuwen2009-02-171-0/+4
| | | | | | | | | | | | | | | Caveat #1: If the brand package doesn't exist, buildinstall will fail Caveat #2: If the brand package has uppercase characters in it's name, it needs to provide ${brand}-{release,logos} in lowercase or yum thinks the package doesn't exist and buildinstall will fail An additional patch may be necessary to: 1) check for ${brand}-{release,logos} 2) if those do not exist, fall back by setting the brand to "generic" This will need to happen *after* the YUM configuration file has been written, but before upd-instroot is executed.
* Fix indentation in buildinstall scriptJeroen van Meeuwen (Fedora Unity)2009-02-161-57/+56
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Die on errors from upd-instroot/mk-images rather than continuing onJeremy Katz2009-01-061-2/+11
|
* Rename stage2.img to install.imgDavid Cantrell2008-08-131-2/+2
| | | | | | To make the installation image files more clear and since we have removed minstg2.img, rename stage2.img to install.img.
* Use a temporary location for yum cache data (#457632).Chris Lumens2008-08-061-6/+6
|
* Remove support for generating a minstg2.img image.David Cantrell2008-07-241-2/+2
| | | | | | The minstg2 image has outlived its usefulness. We are at a point where we have been maintaining two stage 2 images and they are slowly becoming identical.
* Query for anaconda rather than anaconda-runtime in buildinstallJesse Keating2008-06-251-4/+4
| | | | | | | Since we don't create an anaconda-runtime package anymore, buildinstall querying for it was going wrong. Admittedly this may be a problem with repoquery and yumdownloader, and that will be investigated, but for the sake of getting things working, I'm fixing it here.
* Add a mirrorlist option.Jesse Keating2008-06-131-0/+17
| | | | | | This option allows us to pass a mirrorlist into buildinstall instead of or in addition to baseurls. This will allow the yum object to make use of a list of potential mirrors should it have difficulties downloading something.
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-041-0/+20
| | | | * po/sk.po: Typo fix.
* Fix $UPDATES for realJeremy Katz2008-03-191-1/+1
| | | | It would help if I could type I suspect
* Don't use the bits from $UPDATES unless $UPDATES existsJeremy Katz2008-03-061-1/+1
|
* Take --updates with location of additional updates beyond the package set usedJeremy Katz2008-02-281-2/+10
| | | | | For testing purposes, add the ability to use a --updates to buildinstall for getting additional updates for testing.
* Change the ISOs we buildJeremy Katz2008-02-281-0/+4
| | | | | | Stop building boot.iso (and diskboot.img) in preference for building a netinst.iso with the boot bits as well as the second stage. This will replace the rescue image and is overall far more useful
* Take advantage of yum repos being availableJeremy Katz2008-02-281-18/+41
| | | | | | Instead of doing tricks with find, use repoquery and yumdownloader to download things like anaconda-runtime and kernels and firmware packages. This also has the nice side effect of letting us run buildinstall against an http repo
* Follow symlinks when looking for the anaconda-runtime package.Jesse Keating2008-02-251-1/+1
| | | | | This bit rawhide creation as we use a symlink to the packages on an NFS share to run buildinstall against. Fugly but it works.
* Lets redirect to /dev/null to ensure that what we get in DIR is the result ↵Joel Andres Granados2008-02-221-1/+1
| | | | of pwd.
* We are not using $p anymoreJoel Andres Granados2008-02-181-1/+1
|
* We don't need productpath anymore, so stop taking it as an optionJeremy Katz2008-02-171-9/+1
|
* Clean up invocation of mk-images from buildinstallJeremy Katz2008-02-171-1/+1
| | | | | | | Use named options when passing things to mk-images so that it's more clear as to what's going on. Also, make things like arch more explict. This also adds support for output from mk-images to go elsewhere, although that's currently not used by anything
* Clean up invocation of upd-instroot from buildinstallJeremy Katz2008-02-171-1/+1
| | | | | | Use named options when passing things to upd-instroot so that it's more clear as to what's going on. Explicitly pass the arch we're building for rather than trying to derive it based on the anaconda-runtime package
* Remove some legacy stuff that's no longer relevant from .discinfo/.treeinfoJeremy Katz2008-02-171-2/+2
|
* Don't depend on product path for finding the anaconda-runtime packageJeremy Katz2008-02-171-2/+3
|
* Make buildinstall a little clearerJeremy Katz2008-02-171-14/+10
| | | | | Make buildinstall a little bit clearer by making variable names more obvious and also using mktemp'd dirs
* Remove some unused options (--discs and --buildinstdir)Jeremy Katz2008-02-141-26/+21
|
* Remove some things that aren't used anymoreJeremy Katz2008-02-141-4/+0
|
* Don't run pkgorder as a part of buildinstall anymoreJeremy Katz2008-02-141-12/+1
|
* GPLv2+ boilerplates for scripts/ scripts and other such odds and ends.David Cantrell2007-12-171-0/+18
|
* Some arguments are required (#355871).Chris Lumens2007-10-291-1/+1
|
* 2007-09-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-09-261-1/+1
| | | | * scripts/buildinstall (BUILDARCH): Make more predictable (#239897)
* 2007-07-26 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-07-261-1/+1
| | | | | | * scripts/upd-instroot: Use the tree as the repo rather than the yum config on the machine (whoops!) * scripts/buildinstall (BUILDINSTALL): Pass $p
* * scripts/buildinstall: Remove obsolete chunkBill Nottingham2007-07-261-6/+0
|
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-5/+1
| | | | | * scripts/buildinstall: And don't worry about existence of the RPMS/ dir anymore. (Jesse Keating)
* 2007-03-07 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-03-071-3/+6
| | | | * scripts/buildinstall: Don't call createrepo (Jesse Keating)
* Added maketreeinfo.py script.Chris Lumens2007-02-201-1/+11
|
* * anaconda.spec: Patch for createrepo >= 0.4.7 (jkeating).David Cantrell2007-02-151-1/+1
| | | | * scripts/buildinstall: Likewise.
* 2007-01-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2007-01-301-1/+1
| | | | | | | | | | | * scripts/buildinstall: Use $TMPDIR instead of hard-coded /tmp (Steve Pritchard <steve@silug.org>, #224438) * scripts/getkeymaps: Likewise. * scripts/mk-images: Likewise. * scripts/mk-images.ia64: Likewise. * scripts/pkgorder: Likewise. * scripts/upd-instroot: Likewise. * scripts/yumcache: Likewise.
* 2006-08-08 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-08-091-2/+6
| | | | | | | | | Patch from Paul Schroder <pschroeder@uplogix.com> for nogr mode * scripts/buildinstall: Add --nogr option * scripts/mk-images: Use --nogr * scripts/mk-images.x86: Only put splash image in if building a graphics stage2 * scripts/upd-instroot: Cleanups for --nogr
* 2006-07-21 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-07-211-8/+10
| | | | | | | * scripts/buildinstall: Handle having packages under $PRODUCTPATH/RPMS or $PRODUCTPATH/ * scripts/pkgorder: Likewise. * scripts/splittree.py: Likewise.
* 2006-06-30 Jeremy Katz <katzj@redhat.com>Jeremy Katz2006-06-301-55/+7
| | | | | | | * scripts/buildinstall: Nuke runroot stuff since everything is runroot'd now. Get rid of first/second run of buildinstall, --comp is now a no-op * scripts/upd-instroot: --comp argument no longer makes sense to take
* Revert my last change to buildinstall as I was dumb. releasestring already ↵jkeating2006-04-191-1/+1
| | | | has version.
* Pass version on to mkstamp for discinfo files.jkeating2006-04-181-1/+1
|
* Groups should work with later createrepo, and we need for pkgorderPaul Nasrat2005-11-171-2/+2
|
* print pkgorder linePaul Nasrat2005-11-171-0/+1
|
* 2005-11-16 Jeremy Katz <katzj@redhat.com>Jeremy Katz2005-11-171-2/+2
| | | | | | * scripts/mk-images (INITRDMODS): More videoaliases fixage. * scripts/buildinstall (BUILDINSTALL): Okay, don't do group info.