diff options
Diffstat (limited to 'package/block-mount/.svn')
-rw-r--r-- | package/block-mount/.svn/entries | 99 | ||||
-rw-r--r-- | package/block-mount/.svn/text-base/Config.in.svn-base | 17 | ||||
-rw-r--r-- | package/block-mount/.svn/text-base/Makefile.svn-base | 70 |
3 files changed, 186 insertions, 0 deletions
diff --git a/package/block-mount/.svn/entries b/package/block-mount/.svn/entries new file mode 100644 index 0000000..a87275b --- /dev/null +++ b/package/block-mount/.svn/entries @@ -0,0 +1,99 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/package/block-mount +svn://svn.openwrt.org/openwrt + + + +2012-12-19T09:41:28.797677Z +34784 +jow + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +files +dir + +Config.in +file + + + + +2013-03-17T12:13:21.000000Z +37163b77640aac51e0658e2253e62371 +2011-03-27T06:40:51.125191Z +26314 +cshore + + + + + + + + + + + + + + + + + + + + + +478 + +Makefile +file + + + + +2013-03-17T12:13:21.000000Z +4c88b619bb7f6fa787f5377f746d3f12 +2012-12-19T09:41:28.797677Z +34784 +jow + + + + + + + + + + + + + + + + + + + + + +2248 + diff --git a/package/block-mount/.svn/text-base/Config.in.svn-base b/package/block-mount/.svn/text-base/Config.in.svn-base new file mode 100644 index 0000000..2fa10b6 --- /dev/null +++ b/package/block-mount/.svn/text-base/Config.in.svn-base @@ -0,0 +1,17 @@ +# +# Copyright (C) 2010 Vertical Communications +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +config EXTROOT_SETTLETIME + int + prompt "Settle time for root block device (s)" if PACKAGE_block-mount + default 20 + help + This is the amount of time, in seconds, to wait for the block device + the root filesystem is on to become available, after the kernel that + modules for the rootfs and device are loaded. + + diff --git a/package/block-mount/.svn/text-base/Makefile.svn-base b/package/block-mount/.svn/text-base/Makefile.svn-base new file mode 100644 index 0000000..06deb94 --- /dev/null +++ b/package/block-mount/.svn/text-base/Makefile.svn-base @@ -0,0 +1,70 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# Copyright (C) 2010 Vertical Communications +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=block-mount +PKG_VERSION:=0.2.0 +PKG_RELEASE:=10 + +include $(INCLUDE_DIR)/package.mk + +define Package/block-mount/Default + SECTION:=base + CATEGORY:=Base system +endef + +define Package/block-mount + $(call Package/block-mount/Default) + TITLE:=Block device mounting and checking + DEPENDS:= +blkid +swap-utils + MENU:=1 +endef + +define Package/block-mount/description + Scripts used to mount and check block devices (filesystems and swap), as well + as hotplug scripts to automount and check block devices when hotplug event (e.g. + from plugging in a device) occurs. + Also includes preinit scripts for mounting a block device as the root filesystem. + This allows one to have the root filesystem on devices other than the built in flash + device. +endef + +define Package/block-mount/config + source "$(SOURCE)/Config.in" +endef + +define Build/Compile +endef + +define Package/block-mount/conffiles +/etc/config/fstab +endef + +define Package/block-mount/install + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./files/fstab.config $(1)/etc/config/fstab + $(INSTALL_DIR) $(1)/lib/functions/fsck + $(INSTALL_DATA) ./files/mount.sh $(1)/lib/functions/ + $(INSTALL_DATA) ./files/fsck.sh $(1)/lib/functions/ + $(INSTALL_DATA) ./files/block.sh $(1)/lib/functions/ + $(INSTALL_DIR) $(1)/etc/hotplug.d/block + $(INSTALL_DATA) ./files/10-swap $(1)/etc/hotplug.d/block/ + $(INSTALL_DATA) ./files/20-fsck $(1)/etc/hotplug.d/block/ + $(INSTALL_DATA) ./files/40-mount $(1)/etc/hotplug.d/block/ + $(INSTALL_DATA) ./files/extmount.sh $(1)/lib/functions/ + $(INSTALL_DIR) $(1)/lib/preinit + $(INSTALL_DATA) ./files/50_determine_usb_root $(1)/lib/preinit/ + $(INSTALL_DATA) ./files/55_determine_extroot_sysupgrade $(1)/lib/preinit/ + $(INSTALL_DATA) ./files/60_pivot_usb_root $(1)/lib/preinit/ + echo "extroot_settle_time=\"$(CONFIG_EXTROOT_SETTLETIME)\"" >$(1)/lib/preinit/00_extroot.conf + $(INSTALL_DIR) $(1)/overlay +endef + +$(eval $(call BuildPackage,block-mount)) |