Extracting common functionality for rpm based distros
Rather than dublicating code to implement rhel or any other derivitive, this patch introduces an rpm-distro element that should be used as a dependency. Change-Id: I8a92bb041764d03f430b438f0013704f79a8674c
This commit is contained in:
parent
e7a8fefa0b
commit
301c3c4475
@ -3,3 +3,4 @@ dracut-network
|
||||
cache-url
|
||||
dkms
|
||||
yum
|
||||
rpm-distro
|
||||
|
3
elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path
Executable file
3
elements/rpm-distro/pre-install.d/00-usr-local-bin-secure-path
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sed -i '/secure_path/ s/$/:\/usr\/local\/bin/' /etc/sudoers
|
Loading…
Reference in New Issue
Block a user