diff options
Diffstat (limited to 'include/rootfs.mk')
-rw-r--r-- | include/rootfs.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk index 74785cbbd3..1844f849e2 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -60,6 +60,7 @@ define prepare_rootfs $(call file_copy,$(TOPDIR)/files/.,$(1)); \ fi @mkdir -p $(1)/etc/rc.d + @mkdir -p $(1)/var/lock @( \ cd $(1); \ for script in ./usr/lib/opkg/info/*.postinst; do \ @@ -84,6 +85,7 @@ define prepare_rootfs rm -f $(1)/usr/lib/opkg/lists/* rm -f $(1)/usr/lib/opkg/info/*.postinst* rm -f $(1)/usr/lib/opkg/info/*.prerm* + rm -f $(1)/var/lock/*.lock $(call clean_ipkg,$(1)) $(call mklibs,$(1)) endef |