summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:44:26 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:44:26 +0000
commit8a99ba699a4a48168573906a621545abedd35ee6 (patch)
treeefb4b77802cadb5308c83638e03e7e961f22630d /app-admin
parentc0321142cf7a6f05a78300ad081a7b38c201f1dd (diff)
app-admin/vasile : revision bump
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/vasile/files/vasile-1.1801-r1.patch44
-rw-r--r--app-admin/vasile/vasile-1.1801-r1.ebuild (renamed from app-admin/vasile/vasile-1.1801.ebuild)8
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/vasile/files/vasile-1.1801-r1.patch b/app-admin/vasile/files/vasile-1.1801-r1.patch
new file mode 100644
index 00000000..a1739766
--- /dev/null
+++ b/app-admin/vasile/files/vasile-1.1801-r1.patch
@@ -0,0 +1,44 @@
+diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh
+index 0f66964..323afba 100644
+--- a/src/backend/f_modeswitch.sh
++++ b/src/backend/f_modeswitch.sh
+@@ -101,7 +101,7 @@ injectportfulltree () {
+ setbinmodecfg () {
+ ln -sf "$jailportcfgsource" "$jailportcfgtarget"
+ ln -sf "$jailportcfgtarget"/make.conf.amd64-binmode "$jailportcfgtarget"/make.conf
+- eselect profile set 1
++ eselect profile set redcore:default/linux/amd64/13.0
+ env-update
+ . /etc/profile
+ }
+@@ -115,7 +115,7 @@ binmode () {
+ setmixedmodecfg () {
+ ln -sf "$jailportcfgsource" "$jailportcfgtarget"
+ ln -sf "$jailportcfgtarget"/make.conf.amd64-mixedmode "$jailportcfgtarget"/make.conf
+- eselect profile set 1
++ eselect profile set redcore:default/linux/amd64/13.0
+ env-update
+ . /etc/profile
+ }
+@@ -129,7 +129,7 @@ mixedmode () {
+ setsrcmodecfg () {
+ ln -sf "$jailportcfgsource" "$jailportcfgtarget"
+ ln -sf "$jailportcfgtarget"/make.conf.amd64-srcmode "$jailportcfgtarget"/make.conf
+- eselect profile set 1
++ eselect profile set redcore:default/linux/amd64/13.0
+ env-update
+ . /etc/profile
+ }
+diff --git a/src/backend/v_jail.sh b/src/backend/v_jail.sh
+index 11e9945..39dfcf8 100644
+--- a/src/backend/v_jail.sh
++++ b/src/backend/v_jail.sh
+@@ -4,7 +4,7 @@ export local distupstream="gentoo"
+ export local distname="redcore"
+ export local disttarget="desktop"
+ export local distver="1"
+-export local kernver="4.14.10-"$distname"-lts"
++export local kernver="4.14.12-"$distname"-lts"
+
+ export local jailx64=""$distname"_"$distver"_core_x64.squashfs"
+ export local jailx64sum=""$jailx64".md5sum"
diff --git a/app-admin/vasile/vasile-1.1801.ebuild b/app-admin/vasile/vasile-1.1801-r1.ebuild
index 267ba1f3..58ed0f5c 100644
--- a/app-admin/vasile/vasile-1.1801.ebuild
+++ b/app-admin/vasile/vasile-1.1801-r1.ebuild
@@ -21,6 +21,11 @@ RDEPEND="${DEPEND}
sys-fs/mtools
sys-fs/squashfs-tools"
+src_prepare() {
+ default
+ epatch "${FILESDIR}/${P}-r1.patch"
+}
+
src_install() {
default
dosym ../../usr/bin/"${PN}".sh usr/bin/"${PN}"
@@ -31,4 +36,7 @@ src_install() {
pkg_postinst() {
chown portage:portage /var/cache/distfiles
chmod 775 /var/cache/distfiles
+
+ # auto switch to Redcore Linux profile
+ "{ROOT}"/usr/bin/eselect profile set redcore:default/linux/amd64/13.0
}