dev: employ control feature
...instead of setting up pam_mktemp ourselves even if that was no big deal too.
This commit is contained in:
parent
f059955d31
commit
f123fea698
@ -1,6 +1,7 @@
|
|||||||
use/dev:
|
use/dev: use/control
|
||||||
@$(call add_feature)
|
@$(call add_feature)
|
||||||
@$(call add,THE_PACKAGES,git-core hasher gear)
|
@$(call add,THE_PACKAGES,git-core hasher gear)
|
||||||
|
@$(call add,CONTROL,pam_mktemp:enabled)
|
||||||
|
|
||||||
use/dev/mkimage: use/dev
|
use/dev/mkimage: use/dev
|
||||||
@$(call add,THE_PACKAGES,mkimage shadow-change su)
|
@$(call add,THE_PACKAGES,mkimage shadow-change su)
|
||||||
|
@ -28,7 +28,6 @@ fi
|
|||||||
|
|
||||||
# $TMP
|
# $TMP
|
||||||
TMP="/tmp/.private/$USER"
|
TMP="/tmp/.private/$USER"
|
||||||
control pam_mktemp enabled
|
|
||||||
sed -i '/^%_tmppath.*tmp$/d' "$HOME/.rpmmacros"
|
sed -i '/^%_tmppath.*tmp$/d' "$HOME/.rpmmacros"
|
||||||
echo "%_tmppath $TMP" >> "$HOME/.rpmmacros"
|
echo "%_tmppath $TMP" >> "$HOME/.rpmmacros"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user