2018-03-14 02:25:35 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
# make-edge-iso.sh $old_iso $new_iso
|
|
|
|
|
2021-07-19 02:44:22 +00:00
|
|
|
LIVEFS_EDITOR="${LIVEFS_EDITOR-$(readlink -f "$(dirname $(dirname ${0}))/livefs-editor")}"
|
|
|
|
[ -d $LIVEFS_EDITOR ] || git clone https://github.com/mwhudson/livefs-editor $LIVEFS_EDITOR
|
2018-03-14 02:25:35 +00:00
|
|
|
|
|
|
|
OLD_ISO="$(readlink -f "${1}")"
|
|
|
|
NEW_ISO="$(readlink -f "${2}")"
|
|
|
|
|
2021-07-19 02:44:22 +00:00
|
|
|
PYTHONPATH=$LIVEFS_EDITOR python3 -m livefs_edit $OLD_ISO $NEW_ISO --add-snap-from-store subiquity edge
|