11 lines
185 B
Plaintext
11 lines
185 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
[ -n "$TARGET_ROOT" ]
|
||
|
|
||
|
ZYPPER_CACHE_DIR=~/.cache/image-create/zypper
|
||
|
mkdir -p $ZYPPER_CACHE_DIR
|
||
|
|
||
|
sudo mount --bind $ZYPPER_CACHE_DIR $TMP_MOUNT_PATH/var/cache/zypp
|