mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
scripts: add modifications for ROCKNIX
This commit is contained in:
+12
-1
@@ -79,7 +79,7 @@ if [ "${TARGET}" = "target" ]; then
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/profile.d ]; then
|
||||
mkdir -p ${INSTALL}/etc/profile.d
|
||||
cp ${PKG_TMP_DIR}/profile.d/*.conf ${INSTALL}/etc/profile.d
|
||||
cp ${PKG_TMP_DIR}/profile.d/* ${INSTALL}/etc/profile.d
|
||||
fi
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/tmpfiles.d ]; then
|
||||
@@ -87,6 +87,17 @@ if [ "${TARGET}" = "target" ]; then
|
||||
cp ${PKG_TMP_DIR}/tmpfiles.d/*.conf ${INSTALL}/usr/lib/tmpfiles.d
|
||||
fi
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/autostart ]; then
|
||||
mkdir -p ${INSTALL}/usr/lib/autostart/common
|
||||
cp ${PKG_TMP_DIR}/autostart/* ${INSTALL}/usr/lib/autostart/common
|
||||
chmod 0755 ${INSTALL}/usr/lib/autostart/common/*
|
||||
fi
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/daemons ]; then
|
||||
mkdir -p ${INSTALL}/usr/lib/autostart/daemons
|
||||
cp ${PKG_TMP_DIR}/daemons/* ${INSTALL}/usr/lib/autostart/daemons
|
||||
fi
|
||||
|
||||
if [ -d ${PKG_TMP_DIR}/system.d ]; then
|
||||
mkdir -p ${INSTALL}/usr/lib/systemd/system
|
||||
cp -Pr ${PKG_TMP_DIR}/system.d/*.* ${INSTALL}/usr/lib/systemd/system
|
||||
|
||||
Reference in New Issue
Block a user