diff options
author | psykose <alice@ayaya.dev> | 2023-05-25 06:33:50 +0000 |
---|---|---|
committer | psykose <alice@ayaya.dev> | 2023-05-25 08:34:26 +0200 |
commit | edcf1cf40ecf017d08db259a9fcdbabef7973dcd (patch) | |
tree | fc2968ed6781dfd670074eb4916dafd39dc01db2 /main/cryptsetup | |
parent | d61c7d41f036238304cb5465046030356b6c15de (diff) | |
download | aports-edcf1cf40ecf017d08db259a9fcdbabef7973dcd.zip |
main/cryptsetup: also read post_mount from confd
closes #13891
Diffstat (limited to 'main/cryptsetup')
-rw-r--r-- | main/cryptsetup/APKBUILD | 4 | ||||
-rw-r--r-- | main/cryptsetup/dmcrypt.initd | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/main/cryptsetup/APKBUILD b/main/cryptsetup/APKBUILD index 2499d601a47..902b288232f 100644 --- a/main/cryptsetup/APKBUILD +++ b/main/cryptsetup/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cryptsetup pkgver=2.6.1 -pkgrel=4 +pkgrel=5 pkgdesc="Userspace setup tool for transparent encryption of block devices using the Linux 2.6 cryptoapi" url="https://gitlab.com/cryptsetup/cryptsetup" arch="all" @@ -76,6 +76,6 @@ libs() { sha512sums=" 91f4570e7398f3aa68d4f029d734731867530f839634a1a8b23b3722b32ecfd41266e2da0404360881557022b092857eed761840f233ce9676348d426b3682a0 cryptsetup-2.6.1.tar.gz -5315589102d6e7fac5fdee1230a4012d5548c1a7193a05a310eacdeaf709857d370359cae7ea437e3ca0591ffdb848c205c14d42017a1c5445cadaec2e8eb4a1 dmcrypt.initd +252d6c3c9161b62db1652b9ed75377d1eb9a3ac821bde94b9e4935e97e2486196e59f415085b382fd406ba1b47a20be60db3f1cfe57afb26028abf314f6ea2b1 dmcrypt.initd 74422d5e1614b43af894ea01da1ea80d805ec7f77981cbb80a6b1a4becad737a8825d7269812499095a7f50d39fa7da5bf4e4edae63529b1fe87b9176943a733 dmcrypt.confd " diff --git a/main/cryptsetup/dmcrypt.initd b/main/cryptsetup/dmcrypt.initd index 4dbda6f892a..16d3a2c52e3 100644 --- a/main/cryptsetup/dmcrypt.initd +++ b/main/cryptsetup/dmcrypt.initd @@ -220,6 +220,12 @@ dm_crypt_execute() { eval "${pre_mount}" > /dev/null ewend $? || cryptfs_status=1 fi + if [ -n "${post_mount}" ] ; then + dev="/dev/mapper/${target}" + eval ebegin \"" post_mount: ${post_mount}"\" + eval "${post_mount}" > /dev/null + ewend $? || cryptfs_status=1 + fi fi } |