index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Simo Leone <simo@archlinux.org> | 2007-10-05 14:27:52 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2007-10-09 20:59:26 -0500 |
commit | 69c9986a9c2dc6ad18bb1de0c2c2a328c5c94239 (patch) | |
tree | d82403b2404ce2638c4ca4b56c438535020ed2af /mkarchiso | |
parent | d0688d1130a98f9c015f227f7f94a78affa7813f (diff) |
-rwxr-xr-x | mkarchiso | 9 |
@@ -78,9 +78,8 @@ fi _kversion () { - echo $(pacman -Ql -r "${instroot}" "${kernelpkg}" |\ - grep "/lib/modules/[^/]*/$" |\ - sed "s|.*/lib/modules/\([^/]*\).*/$|\1|") + source ${instroot}/etc/mkinitcpio.d/kernel26.kver + echo ${ALL_kver} } _pacman () @@ -94,7 +93,7 @@ _pacman () FAKEROOTSAV=$FAKEROOTKEY; unset FAKEROOTKEY #TODO this grep is a tad weird... - if ! eval "${fkchroot} pacman -Sf --noconfirm -r \"${instroot}\" $*" | grep "\[#"; then + if ! eval "${fkchroot} pacman -Sf --noconfirm -r \"${instroot}\" $*"; then exit 1 fi FAKEROOTKEY=$FAKEROOTSAV @@ -127,7 +126,7 @@ if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then mkdir -p "${instroot}" FAKEROOTSAV=$FAKEROOTKEY; unset FAKEROOTKEY - if ! pacman -Sy -r "${instroot}" 2>&1 | grep -v "cannot open logfile"; then + if ! pacman -Sy -r "${instroot}" | grep -v "cannot open logfile"; then echo "Error, failed to sync pacman... aborting." exit 1 fi |