diff options
author | Kim Hagen <kim@sentrium.io> | 2021-08-09 09:24:21 -0500 |
---|---|---|
committer | Kim Hagen <kim@sentrium.io> | 2021-08-09 09:24:21 -0500 |
commit | 301cd5b991caded9c84d1ce4bb214ac720ba5796 (patch) | |
tree | 8e2354a14a176e4dbe33e34507a62e8f4d9bd9c1 /scripts/build/binary_hdd | |
parent | f81f65598555f88f1b0535807da7418e5326be67 (diff) | |
download | vyos-live-build-301cd5b991caded9c84d1ce4bb214ac720ba5796.tar.gz vyos-live-build-301cd5b991caded9c84d1ce4bb214ac720ba5796.zip |
add items for grub setup and enable persistence1.3.81.3.71.3.61.3.51.3.41.3.3-epa11.3.31.3.2equuleus
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-x | scripts/build/binary_hdd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index dee92017e..8cf44126e 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -275,6 +275,17 @@ else fi cp -T ${CP_OPTIONS} binary/ chroot/binary.tmp +if [ "${LB_VYOS_PERSISTENCE}" = "true" ] +then + mkdir -p chroot/binary.tmp/${LB_VYOS_VERSION}/rw + mkdir -p chroot/binary.tmp/${LB_VYOS_VERSION}/work + mv chroot/binary.tmp/${LB_VYOS_VERSION}/filesystem.squashfs \ + chroot/binary.tmp/${LB_VYOS_VERSION}/$(basename ${LB_VYOS_VERSION}).squashfs + cat > chroot/binary.tmp/persistence.conf << EOF +/ union +EOF +fi + if [ -n "${GRUB_PC_ENABLED}" ] then case "${LB_BUILD_WITH_CHROOT}" in |