parent
7a972b94ab
commit
7697b982f7
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python3_9)
|
||||
|
||||
SRC_URI="https://git.calculate-linux.org/calculate/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Calculate"
|
||||
HOMEPAGE="https://www.calculate-linux.org"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
RDEPEND=">=sys-apps/calculate-utils-3.6
|
||||
app-arch/zstd
|
||||
app-arch/xz-utils"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-check-lxc.patch
|
||||
"${FILESDIR}"/${P}-workdir.patch
|
||||
"${FILESDIR}"/${P}-no-validate.patch
|
||||
"${FILESDIR}"/${P}-root.patch
|
||||
"${FILESDIR}"/${P}-var.patch
|
||||
"${FILESDIR}"/${P}-clear.patch
|
||||
"${FILESDIR}"/${P}-restore-init.patch
|
||||
"${FILESDIR}"/${P}-skipcom.patch
|
||||
)
|
@ -0,0 +1,13 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 3f69f91..96135d9 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -531,7 +531,7 @@ update_prepare() {
|
||||
eend
|
||||
|
||||
ebegin $"Creating mount points"
|
||||
- for mount_point in $(grep lxc.mount.entry $path_work/$name_upgrading/config | awk {'print $4'})
|
||||
+ for mount_point in $(grep '^lxc.mount.entry' $path_work/$name_upgrading/config | awk {'print $4'})
|
||||
do
|
||||
mkdir -p "$path_lxc/rootfs/$mount_point"
|
||||
done
|
Loading…
Reference in new issue