summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Allow two config files in different packages, if exactly one is %ghost.Richard W.M. Jones2012-02-091-2/+7
| | | | | This works around this Fedora problem: https://bugzilla.redhat.com/show_bug.cgi?id=733117#c4
* Fix Python code when _bestPackageFromList returns None.Richard W.M. Jones2011-11-081-1/+1
| | | | | Yet Another Bug caused by lack of strong typing and nullable types in this sad excuse for a programming language.
* debian: Quote parameters to grep.Richard W.M. Jones2011-10-271-1/+1
| | | | This updates commit daa0a6218be2cee5284d6961fc05b7e53d368abd.
* debian: Ignore other secondary architectures, not just :i386.Hilko Bengen2011-10-211-1/+1
|
* ubuntu: Remove '*:i386' (multiarch?) packages.Richard W.M. Jones2011-10-181-1/+1
| | | | | This is a hack. Unclear if this is really needed or what it does, but it fixes Ubuntu 11.10 builds for me.
* debian: Clean up a debug message.Richard W.M. Jones2011-10-181-3/+2
|
* debian: Fix Debian package handler when --use-installed not given.Richard W.M. Jones2011-10-181-3/+7
| | | | | | | | If there is no --use-installed option, then it didn't download all the packages (only the ones not installed). But this failed later when it tried to unpack the packages that hadn't been downloaded. Thus download all the packages if !use_installed.
* debian: Get installed package list in the ph_init handler.Richard W.M. Jones2011-10-181-14/+9
| | | | | Use the Debian ph_init handler to get the list of installed packages.
* Don't pass use_installed to every package handler function.Richard W.M. Jones2011-10-186-29/+40
| | | | | | | | | | | | | | | use_installed is a global variable (defined in febootstrap_cmdline.mli) so there's not much point in passing it around to every function that needs it. This commit removes the optional argument in favour of just using the global variable in each package handler. However we still need a place where we can bail if the --use-installed flag is used for package handlers which don't support this yet. Thus add a ph_init function is called after the right package handler has been detected but before it is used. This is a convenient place to put the --use-installed checking and any other initialization that is required.
* debian: Don't always try to run dpkg-query command.Richard W.M. Jones2011-10-141-6/+17
| | | | | | | | Delay calling this until after debian_detect() has been called and we've decided to use the Debian backend. Otherwise this breaks non-dpkg backends. This fixes commit b8cea4656e5bf1b9e7bb2274ef968ea42b10e0df.
* Find package dependencies fix for pacman.Erik Nolte2011-10-141-8/+7
| | | | | | | | Since the pactree utility only accepts one package name, we must iterate through the packages rather than specify them all on the command line. To avoid errors when febootstrap is run on a system with outdated packages, use ls and awk on the febootstrap package cache directory rather than using the host's outdated pacman database.
* febootstrap: Use contents of installed Debian packages instead of ↵Hilko Bengen2011-09-239-22/+96
| | | | | | | downloading and unpacking them. This also adds --use-installed switch (which for now only works for Debian).
* yum-rpm: Add more debugging to the Python code.Richard W.M. Jones2011-09-141-5/+17
|
* Stable OCaml dependencies.Richard Jones2011-09-122-22/+15
| | | | | | This technique copied from libguestfs/resize/Makefile.am and modified so that it works with old ocamldep that used to add spaces at the end of lines.
* Move febootstrap into src/ subdirectory.Richard W.M. Jones2011-09-0114-0/+1942
Now we have src/ for febootstrap and helper/ for febootstrap-supermin-helper.