GPG bincache
authordacook <schism@subverted.org>
Thu, 17 Dec 2009 15:56:17 +0000 (08:56 -0700)
committerdacook <schism@subverted.org>
Tue, 11 Jan 2011 19:20:27 +0000 (12:20 -0700)
Add handling for a cached GPG binary

gen_determineargs.sh

index d911f07a120c16122565e11d60b50b22fabdb2d3..d34e5bc2d00154e75bcdec318b5dc660d28b20b2 100755 (executable)
@@ -110,6 +110,7 @@ determine_real_args() {
        set_config_with_override 2 REAL_ROOT                    CMD_REAL_ROOT
        set_config_with_override 1 DISKLABEL            CMD_DISKLABEL
        set_config_with_override 1 LUKS                 CMD_LUKS
+       set_config_with_override 1 GPG                  CMD_GPG
        set_config_with_override 1 MDADM                CMD_MDADM
        set_config_with_override 1 MULTIPATH            CMD_MULTIPATH
        set_config_with_override 1 FIRMWARE             CMD_FIRMWARE
@@ -133,6 +134,7 @@ determine_real_args() {
        BLKID_BINCACHE=`cache_replace "${BLKID_BINCACHE}"`
        FUSE_BINCACHE=`cache_replace "${FUSE_BINCACHE}"`
        UNIONFS_FUSE_BINCACHE=`cache_replace "${UNIONFS_FUSE_BINCACHE}"`
+       GPG_BINCACHE=`cache_replace "${GPG_BINCACHE}"`
   
        DEFAULT_KERNEL_CONFIG=`arch_replace "${DEFAULT_KERNEL_CONFIG}"`
        BUSYBOX_CONFIG=`arch_replace "${BUSYBOX_CONFIG}"`
@@ -144,6 +146,7 @@ determine_real_args() {
        BLKID_BINCACHE=`arch_replace "${BLKID_BINCACHE}"`
        FUSE_BINCACHE=`arch_replace "${FUSE_BINCACHE}"`
        UNIONFS_FUSE_BINCACHE=`arch_replace "${UNIONFS_FUSE_BINCACHE}"`
+       GPG_BINCACHE=`arch_replace "${GPG_BINCACHE}"`
 
        if [ -n "${CMD_BOOTLOADER}" ]
        then