dev: employ control feature

...instead of setting up pam_mktemp ourselves
even if that was no big deal too.
This commit is contained in:
Michael Shigorin 2013-07-07 18:15:13 +04:00
parent f059955d31
commit f123fea698
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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"