aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-c7/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux_base-c7/Makefile')
-rw-r--r--emulators/linux_base-c7/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/linux_base-c7/Makefile b/emulators/linux_base-c7/Makefile
index 7762fe777ecf..c214634c25a3 100644
--- a/emulators/linux_base-c7/Makefile
+++ b/emulators/linux_base-c7/Makefile
@@ -138,7 +138,11 @@ post-extract:
@(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/filesystem-3.2-21.el7${EXTRACT_SUFX_${LINUX_ARCH:S/x86_64/amd64/}} \
${EXTRACT_AFTER_ARGS})
+.if ${LINUX_ARCH} == i386
+ @${CHMOD} u+w ${WRKSRC}/usr/lib/pm-utils
+.elif ${LINUX_ARCH} == x86_64
@${CHMOD} u+w ${WRKSRC}/usr/lib64/pm-utils
+.endif
post-patch:
@${RM} -r ${REMOVE_DIRS:S|^|${WRKSRC}/|}