Changeset 36989


Ignore:
Timestamp:
2013-06-21T18:53:03+02:00 (5 years ago)
Author:
blogic
Message:

ubox: update to latest git version

add block mount / extroot support

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/package/ubox
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ubox/Makefile

    r36894 r36989  
    22 
    33PKG_NAME:=ubox 
    4 PKG_VERSION:=2013-06-04 
     4PKG_VERSION:=2013-06-20 
    55PKG_RELEASE=$(PKG_SOURCE_VERSION) 
    66 
     
    88PKG_SOURCE_URL:=git://nbd.name/luci2/ubox.git 
    99PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    10 PKG_SOURCE_VERSION:=d6e6825c4697513d201fc3b146fb167c61404a04 
     10PKG_SOURCE_VERSION:=1b19fc217e33e9b2fc2fab6f9552da740d03a98a 
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1212CMAKE_INSTALL:=1 
     
    2525  SECTION:=base 
    2626  CATEGORY:=Base system 
    27   DEPENDS:=+ubusd +ubus +USE_EGLIBC:librt 
     27  DEPENDS:=+ubusd +ubus +libuci +USE_EGLIBC:librt 
    2828  TITLE:=OpenWrt system helper toolbox 
     29endef 
     30 
     31define Package/block-mount 
     32  SECTION:=base 
     33  CATEGORY:=Base system 
     34  TITLE:=Block device mounting and checking 
     35  DEPENDS:=+ubox 
     36  MENU:=1 
    2937endef 
    3038 
     
    3442        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/{mount_root,kmodloader,lsbloader,board} $(1)/sbin/ 
    3543        ln -s /sbin/mount_root $(1)/sbin/switch2jffs 
    36         ln -s /sbin/mount_root $(1)/sbin/jffs2reset 
    37         ln -s /sbin/mount_root $(1)/sbin/jffs2mark 
    3844        ln -s /sbin/kmodloader $(1)/usr/sbin/lsmod 
    3945        ln -s /sbin/kmodloader $(1)/usr/sbin/modinfo 
    4046endef 
    4147 
     48define Package/block-mount/install 
     49        $(INSTALL_DIR) $(1)/sbin $(1)/usr/sbin $(1)/etc/hotplug.d/block 
     50 
     51        $(CP) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount 
     52        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/ 
     53        ln -s /sbin/block $(1)/usr/sbin/swapon 
     54        ln -s /sbin/block $(1)/usr/sbin/swapoff 
     55endef 
     56 
    4257$(eval $(call BuildPackage,ubox)) 
     58$(eval $(call BuildPackage,block-mount)) 
Note: See TracChangeset for help on using the changeset viewer.