summaryrefslogtreecommitdiffstats
path: root/appliance/supermin-split.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* Unify supermin appliance building using febootstrap 2.7Richard Jones2010-05-131-133/+0
|
* Fix time and timezone to be correct within the appliance.Richard Jones2010-04-121-0/+4
|
* Tab to space (whitespace fixes only).Richard Jones2010-03-121-2/+2
|
* Special case hostfiles handling for libntfs-3g.soRichard Jones2010-03-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ntfs-3g project keeps bumping their soname, and this causes dependency problems for the Fedora package. The root of the problem is we depend on /lib/libntfs-3g.so.<N>, but if <N> keeps bumping, the dependency keeps breaking. This commit changes the hostfiles (and hence dependency) to be on /lib/libntfs-3g.so.* instead. The downside to this is we could end up pulling more files into the appliance than are strictly required, but it will fix the Fedora packaging problems being felt by the Fedora maintainer of ntfs-3g. After applying this commit, the change to hostfiles looks like this: @@ -1489,7 +1489,7 @@ ./lib/libpam_misc.so.0 ./lib/libdmraid.so ./lib/libidn.so.11 -./lib/libntfs-3g.so.74 +./lib/libntfs-3g.so.* ./lib/libext2fs.so.2.* ./lib/libpam.so.0 ./lib/libsepol.so.1 @@ -1520,7 +1520,6 @@ ./lib/libnss_files-*.so ./lib/libgio-2.0.so.0 ./lib/libpam_misc.so.0.* -./lib/libntfs-3g.so.74.* ./lib/libanl.so.1 ./lib/libdevmapper-event-lvm2.so.2.* ./lib/libpthread.so.0
* More complete fix for bash regexp quoting bug.Richard Jones2010-03-021-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | Commit 457fccae1b665347 was not a complete fix, in that it didn't work properly on RHEL 5 era bash (3.2.x). For example: file=libntfs-3g.so.74 [[ "$file" =~ ^lib(.*)\.so\.([0-9]+)\. ]] && \ echo "lib${BASH_REMATCH[1]}.so.${BASH_REMATCH[2]}.*" would on those old shells print: libntfs-3g.so.7.* It seems the final \. was being treated as a plain period (ie. match anything). The only way to work around this incompatibility is to assign the patterns to variables and match on those, ie: p='^lib(.*)\.so\.([0-9]+)\.' [[ "$file" =~ $p ]] && ... This works in both old and new shells.
* build: Fix for bash quoting in supermin-split.sh.in (RHBZ#566511 RHBZ#566512)Richard Jones2010-03-011-8/+19
| | | | | | | | | | Bash changed how the =~ operator worked, see bash FAQ question E14 http://tiswww.case.edu/php/chet/bash/FAQ and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487387#25 (RHBZ#566511). This also stops stray "builddir" (yum database) files being incorporated into supermin hostfiles in Koji (RHBZ#566512).
* supermin: Add special case for libgcc_s-*.so.NRichard Jones2010-01-281-0/+4
| | | | | | Because this file contains the GCC version and a date, it frequently changes on the host. Create a special case so that this file is matched using a wildcard for the version/date part of the name.
* appliance: Special case handling for libbfd in the supermin appliance.Richard Jones2009-12-161-0/+4
| | | | | | | | | | | The libbfd library has a constantly changing, non-standard and very long name, eg: /usr/lib64/libbfd-2.20.51.0.2-7.fc13.so Just add a special case to deal with this. This fixes the guestfs_strings command, which relies on the external strings binary which uses this library.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-12/+12
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* Experimental implementation of the supermin appliance (passes most tests).Richard Jones2009-06-151-0/+93