Skip to content

Commit

Permalink
ERL-467: nemos-images-reference-*: *: add checkbox-erlangen-classic snap
Browse files Browse the repository at this point in the history
Add the custom Checkbox snap created for the project. This contains all
of the project-specific test suites that we require.

Signed-off-by: Isaac True <isaac.true@canonical.com>
  • Loading branch information
IsaacJT committed Nov 9, 2023
1 parent 7c9e304 commit 1ea8512
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions nemos-images-reference-lunar/qemu-amd64/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -61,7 +61,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down
4 changes: 2 additions & 2 deletions nemos-images-reference-lunar/qemu-arm64/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -61,7 +61,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down
4 changes: 2 additions & 2 deletions nemos-images-reference-lunar/s32g274ardb2/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -62,7 +62,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down
4 changes: 2 additions & 2 deletions nemos-images-reference-mantic/qemu-amd64/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -61,7 +61,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down
4 changes: 2 additions & 2 deletions nemos-images-reference-mantic/qemu-arm64/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -61,7 +61,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down
4 changes: 2 additions & 2 deletions nemos-images-reference-mantic/s32g274ardb2/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ for profile in ${kiwi_profiles//,/ }; do
# This requires network access to the Snap Store in Kiwi.
mkdir -p /var/lib/snapd/seed
echo "snaps": > /var/lib/snapd/seed/seed.yaml
for snap in snapd checkbox22 checkbox core22; do
for snap in snapd checkbox22 checkbox checkbox-erlangen-classic core22; do
snap download $snap
# Add this new snap to the list of seeded snaps
cat >> /var/lib/snapd/seed/seed.yaml << EOF
Expand All @@ -62,7 +62,7 @@ for profile in ${kiwi_profiles//,/ }; do
file: $(ls ${snap}_*.snap)
EOF
# Checkbox snap requires classic confinement mode
if [ "${snap}" = "checkbox" ]; then
if [ "${snap}" = "checkbox" ] || [ "${snap}" = "checkbox-erlangen-classic" ]; then
cat >> /var/lib/snapd/seed/seed.yaml << EOF
classic: true
EOF
Expand Down

0 comments on commit 1ea8512

Please sign in to comment.