mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 09:52:14 +01:00
Merge pull request #1118 from marineam/sdk
baselayout: create default passwd/group files in the SDK
This commit is contained in:
commit
c76df5fb2c
@ -181,4 +181,9 @@ pkg_postinst() {
|
|||||||
ln -sfT "${USR_SYMS[$sym]}" "${ROOT}/usr/lib/debug/${sym}"
|
ln -sfT "${USR_SYMS[$sym]}" "${ROOT}/usr/lib/debug/${sym}"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
# The default passwd/group files must exist in the SDK for some ebuilds
|
||||||
|
if use cros_host; then
|
||||||
|
touch "${ROOT}/etc/"{group,gshadow,passwd,shadow}
|
||||||
|
chmod 640 "${ROOT}/etc/"{gshadow,shadow}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user