mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 14:50:38 +01:00
project.conf + pkg-manager.sh: Add support for raspbian
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f3febfa460
commit
c37f49a170
2 changed files with 5 additions and 2 deletions
|
|
@ -39,6 +39,9 @@ release = rpmbuild, pkg-config, python3-base
|
||||||
[pkg.requires.debian]
|
[pkg.requires.debian]
|
||||||
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
||||||
|
|
||||||
|
[pkg.requires.raspbian]
|
||||||
|
release = devscripts, debhelper, dput, libparse-debcontrol-perl, fakeroot, pkg-config
|
||||||
|
|
||||||
[pkg.requires.yocto]
|
[pkg.requires.yocto]
|
||||||
run = python3-core
|
run = python3-core
|
||||||
build = coreutils-native, xdg-utils-native
|
build = coreutils-native, xdg-utils-native
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ cmd_install()
|
||||||
}
|
}
|
||||||
eval run sudo $env -S zypper $global_opts install $opts "$@"
|
eval run sudo $env -S zypper $global_opts install $opts "$@"
|
||||||
;;
|
;;
|
||||||
debian|ubuntu)
|
debian|ubuntu|raspbian)
|
||||||
[ "$non_interactive" = 1 ] && {
|
[ "$non_interactive" = 1 ] && {
|
||||||
global_opts="$global_opts -yq"
|
global_opts="$global_opts -yq"
|
||||||
env="$env DEBIAN_FRONTEND=noninteractive"
|
env="$env DEBIAN_FRONTEND=noninteractive"
|
||||||
|
|
@ -99,7 +99,7 @@ cmd_refresh()
|
||||||
}
|
}
|
||||||
eval run sudo $env -S zypper $global_opts refresh $opts "$@"
|
eval run sudo $env -S zypper $global_opts refresh $opts "$@"
|
||||||
;;
|
;;
|
||||||
debian|ubuntu)
|
debian|ubuntu|raspbian)
|
||||||
eval run sudo $env -S apt-get $global_opts update "$@"
|
eval run sudo $env -S apt-get $global_opts update "$@"
|
||||||
;;
|
;;
|
||||||
centos)
|
centos)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue