From 82a8dc31d2c233ef5d05d41b5bfd639c13d42758 Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Mon, 7 Oct 2024 03:27:25 +0800 Subject: [PATCH] PKGBUILD: Drop .install script (#310) The .install script we had all this time for the rt kernel was never ran on upgrades and installs due to being "sourced" incorrectly in the PKGBUILD. It should have been "sourced" in `install=` instead for it to be ran. However, sourcing it this way poses a few problems: 1. If we add `install=` along in the case statements for cpusched types, the post install script will be ran for each kernel package installed. 2. We could add it to the _package() function for the kernel, but this needs if statements so that its ran on the correct kernel flavour (clutter IMO). Adding it *only* for the rt kernel in case of `linux-cachyos-rt.install` would make its PKGBUILD inconsistent with others (a case can be made that the default kernel is now inconsistent with the other PKGBUILDs, but the default kernel in nature will always be subject to some changes that will not be seen by the other kernel variants) Due to the aforementioned problems, drop the post install scripts. This decision was also largely in part of the low usage count of the rt kernel. We will also be removing `linux-cachyos.install` anyway as it is only a temporary addition to smooth out migration. Signed-off-by: Eric Naim --- linux-cachyos-bmq/PKGBUILD | 6 ++---- linux-cachyos-bmq/linux-cachyos-rt.install | 12 ------------ linux-cachyos-bore/PKGBUILD | 6 ++---- linux-cachyos-bore/linux-cachyos-rt.install | 12 ------------ linux-cachyos-deckify/PKGBUILD | 6 ++---- linux-cachyos-deckify/linux-cachyos-rt.install | 12 ------------ linux-cachyos-eevdf/PKGBUILD | 6 ++---- linux-cachyos-eevdf/linux-cachyos-rt.install | 12 ------------ linux-cachyos-hardened/PKGBUILD | 6 ++---- linux-cachyos-hardened/linux-cachyos-rt.install | 12 ------------ linux-cachyos-lts/PKGBUILD | 6 ++---- linux-cachyos-lts/linux-cachyos-rt.install | 12 ------------ linux-cachyos-rc/linux-cachyos-rt.install | 12 ------------ linux-cachyos-rt-bore/.SRCINFO | 1 - linux-cachyos-rt-bore/PKGBUILD | 6 ++---- linux-cachyos-rt-bore/linux-cachyos-rt.install | 12 ------------ linux-cachyos-sched-ext/PKGBUILD | 6 ++---- linux-cachyos-sched-ext/linux-cachyos-rt.install | 12 ------------ linux-cachyos-server/PKGBUILD | 6 ++---- linux-cachyos-server/linux-cachyos-rt.install | 12 ------------ linux-cachyos/.SRCINFO | 1 - linux-cachyos/PKGBUILD | 9 +++------ linux-cachyos/linux-cachyos-rt.install | 12 ------------ linux-cachyos/linux-cachyos.install | 11 ----------- 24 files changed, 21 insertions(+), 187 deletions(-) delete mode 100644 linux-cachyos-bmq/linux-cachyos-rt.install delete mode 100644 linux-cachyos-bore/linux-cachyos-rt.install delete mode 100644 linux-cachyos-deckify/linux-cachyos-rt.install delete mode 100644 linux-cachyos-eevdf/linux-cachyos-rt.install delete mode 100644 linux-cachyos-hardened/linux-cachyos-rt.install delete mode 100644 linux-cachyos-lts/linux-cachyos-rt.install delete mode 100644 linux-cachyos-rc/linux-cachyos-rt.install delete mode 100644 linux-cachyos-rt-bore/linux-cachyos-rt.install delete mode 100644 linux-cachyos-sched-ext/linux-cachyos-rt.install delete mode 100644 linux-cachyos-server/linux-cachyos-rt.install delete mode 100644 linux-cachyos/linux-cachyos-rt.install delete mode 100644 linux-cachyos/linux-cachyos.install diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD index 56317c83..9ecac844 100644 --- a/linux-cachyos-bmq/PKGBUILD +++ b/linux-cachyos-bmq/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-bmq/linux-cachyos-rt.install b/linux-cachyos-bmq/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-bmq/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD index 170a7c8f..66cc93b4 100644 --- a/linux-cachyos-bore/PKGBUILD +++ b/linux-cachyos-bore/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-bore/linux-cachyos-rt.install b/linux-cachyos-bore/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-bore/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD index 381a41f6..2c0f7a68 100644 --- a/linux-cachyos-deckify/PKGBUILD +++ b/linux-cachyos-deckify/PKGBUILD @@ -250,12 +250,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-deckify/linux-cachyos-rt.install b/linux-cachyos-deckify/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-deckify/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD index 19c58dbe..e0f00953 100644 --- a/linux-cachyos-eevdf/PKGBUILD +++ b/linux-cachyos-eevdf/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-eevdf/linux-cachyos-rt.install b/linux-cachyos-eevdf/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-eevdf/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD index b80cbdfc..635272ee 100644 --- a/linux-cachyos-hardened/PKGBUILD +++ b/linux-cachyos-hardened/PKGBUILD @@ -245,12 +245,10 @@ case "$_cpusched" in echo) ## ECHO Scheduler source+=("${_patchsource}/sched/0001-echo-cachy.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-hardened/linux-cachyos-rt.install b/linux-cachyos-hardened/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-hardened/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD index 1c9c2823..5131acc0 100644 --- a/linux-cachyos-lts/PKGBUILD +++ b/linux-cachyos-lts/PKGBUILD @@ -265,12 +265,10 @@ case "$_cpusched" in bore) ## BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-lts/linux-cachyos-rt.install b/linux-cachyos-lts/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-lts/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-rc/linux-cachyos-rt.install b/linux-cachyos-rc/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-rc/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-rt-bore/.SRCINFO b/linux-cachyos-rt-bore/.SRCINFO index f09097f8..447ab75e 100644 --- a/linux-cachyos-rt-bore/.SRCINFO +++ b/linux-cachyos-rt-bore/.SRCINFO @@ -24,7 +24,6 @@ pkgbase = linux-cachyos-rt-bore source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/all/0001-cachyos-base-all.patch source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/misc/0001-rt.patch source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy-rt.patch - source = linux-cachyos-rt.install b2sums = 5720e8dd0bed0247dcfe0bdbce17e36e67bff56811611ae1b04f048b77b6e60c2a48303db73c5a0d4a56c7125cdd695116c4dfd965bd7cb28aa932f427bb3e7d b2sums = 92e635bb3553896146bea23e5e414853723be9843c94750bc6d4bc327a76925bedb2b3b4481f2816a4691d684e417eae0279c1a2019cb37e9e852914696695da b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667 diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILD index 6e1df362..2c762e55 100644 --- a/linux-cachyos-rt-bore/PKGBUILD +++ b/linux-cachyos-rt-bore/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-rt-bore/linux-cachyos-rt.install b/linux-cachyos-rt-bore/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-rt-bore/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILD index 86f9fd6c..9971a687 100644 --- a/linux-cachyos-sched-ext/PKGBUILD +++ b/linux-cachyos-sched-ext/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-sched-ext/linux-cachyos-rt.install b/linux-cachyos-sched-ext/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-sched-ext/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD index 0b7e4b01..b85733a6 100644 --- a/linux-cachyos-server/PKGBUILD +++ b/linux-cachyos-server/PKGBUILD @@ -247,12 +247,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos-server/linux-cachyos-rt.install b/linux-cachyos-server/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos-server/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO index f02af856..511a4752 100644 --- a/linux-cachyos/.SRCINFO +++ b/linux-cachyos/.SRCINFO @@ -28,7 +28,6 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/misc/dkms-clang.patch source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-sched-ext.patch source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy-ext.patch - source = linux-cachyos.install b2sums = 5720e8dd0bed0247dcfe0bdbce17e36e67bff56811611ae1b04f048b77b6e60c2a48303db73c5a0d4a56c7125cdd695116c4dfd965bd7cb28aa932f427bb3e7d b2sums = 92e635bb3553896146bea23e5e414853723be9843c94750bc6d4bc327a76925bedb2b3b4481f2816a4691d684e417eae0279c1a2019cb37e9e852914696695da b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667 diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD index 8f31f44c..7a3c9140 100644 --- a/linux-cachyos/PKGBUILD +++ b/linux-cachyos/PKGBUILD @@ -243,8 +243,7 @@ fi case "$_cpusched" in cachyos) # CachyOS Scheduler (Sched-ext + BORE + Cachy Sauce) source+=("${_patchsource}/sched/0001-sched-ext.patch" - "${_patchsource}/sched/0001-bore-cachy-ext.patch" - linux-cachyos.install);; + "${_patchsource}/sched/0001-bore-cachy-ext.patch");; bore) ## BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch");; bmq) ## Project C Scheduler @@ -252,12 +251,10 @@ case "$_cpusched" in eevdf) ## 6.12 EEVDF patches source+=("${_patchsource}/sched/0001-eevdf-next.patch");; rt) ## EEVDF with RT patches - source+=("${_patchsource}/misc/0001-rt.patch" - linux-cachyos-rt.install);; + source+=("${_patchsource}/misc/0001-rt.patch");; rt-bore) ## RT with BORE Scheduler source+=("${_patchsource}/misc/0001-rt.patch" - "${_patchsource}/sched/0001-bore-cachy-rt.patch" - linux-cachyos-rt.install);; + "${_patchsource}/sched/0001-bore-cachy-rt.patch");; hardened) ## Hardened Patches with BORE Scheduler source+=("${_patchsource}/sched/0001-bore-cachy.patch" "${_patchsource}/misc/0001-hardened.patch");; diff --git a/linux-cachyos/linux-cachyos-rt.install b/linux-cachyos/linux-cachyos-rt.install deleted file mode 100644 index 5bf59d9c..00000000 --- a/linux-cachyos/linux-cachyos-rt.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - cat << EOF -You install the linux-cachyos kernel variant with RT patches. - -Please make sure that you don't use the ZFS filesystem, as this kernel is not -compatible with it due to licensing issues. -EOF -} - -post_upgrade() { - post_install -} diff --git a/linux-cachyos/linux-cachyos.install b/linux-cachyos/linux-cachyos.install deleted file mode 100644 index cb70fb30..00000000 --- a/linux-cachyos/linux-cachyos.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - cat << EOF -Following this update, the default `linux-cachyos` kernel has defaulted to be built with clang + ThinLTO. -This means that `linux-cachyos-lto` will be obsolete and will be replaced with `linux-cachyos`. -The GCC-built kernel will now be packaged under `linux-cachyos-gcc`. Install that package if you wish to continue using that kernel. -EOF -} - -post_upgrade() { - post_install -}