Fix nvme-ebs-links Installation (#81)

ensure that ownership and permissions are set properly
This commit is contained in:
tomalok 2020-08-17 19:06:08 -07:00 committed by GitHub
parent 10058c1113
commit bbd08c72fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ install_core_packages() {
}
setup_mdev() {
cp /tmp/setup-ami.d/nvme-ebs-links "$TARGET/lib/mdev"
install -o root -g root -Dm755 -t "$TARGET/lib/mdev" \
/tmp/setup-ami.d/nvme-ebs-links
# insert nvme ebs mdev configs just above "# fallback" comment
sed -n -i \