diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-03 14:27:24 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-03 14:27:24 -0700 |
commit | 9947b5783ff089f7c472ef97fa0b114e658fd5b6 (patch) | |
tree | 980a664a8927ced65c44d7c9db618c4d0586f91d | |
parent | 02292be04f50d7ee355ed1b1f2c38596f5cfb38a (diff) | |
download | initramfs-tools-9947b5783ff089f7c472ef97fa0b114e658fd5b6.tar.gz initramfs-tools-9947b5783ff089f7c472ef97fa0b114e658fd5b6.zip |
fix for squeeze dpkg
-rw-r--r-- | hook-functions | 2 | ||||
-rwxr-xr-x | mkinitramfs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hook-functions b/hook-functions index e86f5f2..cfabe50 100644 --- a/hook-functions +++ b/hook-functions @@ -444,7 +444,7 @@ check_minkver() curversion="${1}" initdir="${2}" if [ -z "${initdir}" ]; then - DPKG_ARCH=$(dpkg --print-installation-architecture) + DPKG_ARCH=$(dpkg --print-architecture) case ${DPKG_ARCH} in ia64|hppa) minversion="2.6.15" diff --git a/mkinitramfs b/mkinitramfs index 0fc45db..3c59757 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -164,7 +164,7 @@ fi DESTDIR="$(mktemp -t -d mkinitramfs_XXXXXX)" || exit 1 __TMPCPIOGZ="$(mktemp -t mkinitramfs-OL_XXXXXX)" || exit 1 -DPKG_ARCH=`dpkg --print-installation-architecture` +DPKG_ARCH=`dpkg --print-architecture` # Export environment for hook scripts. # |