12 lines
203 B
Plaintext
12 lines
203 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
[ -n "TARGET_ROOT" ]
|
||
|
|
||
|
YUM_CACHE_DIR=~/.cache/image-create/yum
|
||
|
mkdir -p $YUM_CACHE_DIR
|
||
|
|
||
|
sudo mkdir -p $TMP_MOUNT_PATH/tmp/yum
|
||
|
sudo mount --bind $YUM_CACHE_DIR $TMP_MOUNT_PATH/tmp/yum
|