-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-unsquashfs-bug-data-queue-too-large
- Loading branch information
Showing
6 changed files
with
173 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# Copyright 2024 Canonical Ltd. | ||
# | ||
# This program is free software: you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License version 3, as published | ||
# by the Free Software Foundation. | ||
# | ||
# This program is distributed in the hope that it will be useful, but WITHOUT | ||
# ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, | ||
# SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License along | ||
# with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
GIT_EXEC_PATH="${SNAP}/usr/lib/git-core" exec "${SNAP}/usr/lib/git-core/git" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: craftgit-test | ||
base: core24 | ||
version: '0.1' | ||
summary: Echo | ||
description: Just a dummy build to check if craft.git from package works | ||
confinement: strict | ||
|
||
parts: | ||
craftgit-test: | ||
plugin: nil | ||
override-pull: | | ||
echo "checking if craft.git from snap is available during pull" | ||
which craft.git | grep "$SNAP/libexec/snapcraft/craft.git" | ||
craft.git clone --depth 1 https://git.launchpad.net/ubuntu/+source/hello | ||
override-build: | | ||
echo "checking if craft.git from snap is available during build" | ||
which craft.git | grep "$SNAP/libexec/snapcraft/craft.git" | ||
override-stage: | | ||
echo "checking if craft.git from snap is available during stage" | ||
which craft.git | grep "$SNAP/libexec/snapcraft/craft.git" | ||
override-prime: | | ||
echo "checking if craft.git from snap is available during prime" | ||
which craft.git | grep "$SNAP/libexec/snapcraft/craft.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
summary: Pack a snap that uses craft.git | ||
|
||
restore: | | ||
snapcraft clean | ||
rm -f ./*.snap | ||
execute: | | ||
snapcraft pack |