Changeset 43489


Ignore:
Timestamp:
2014-12-02T12:13:28+01:00 (3 years ago)
Author:
blogic
Message:

procd: add support for zram compressed /tmp

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/system/procd/Makefile

    r43327 r43489  
    99 
    1010PKG_NAME:=procd 
    11 PKG_VERSION:=2014-11-19 
     11PKG_VERSION:=2014-12-02 
    1212 
    1313PKG_RELEASE=$(PKG_SOURCE_VERSION) 
     
    1616PKG_SOURCE_URL:=git://nbd.name/luci2/procd.git 
    1717PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    18 PKG_SOURCE_VERSION:=02e1a4eac725aaae10c119ec2ec20d0da4a2c958 
     18PKG_SOURCE_VERSION:=e1a27d486c2374f46abd264f3fd6561815155ebd 
    1919PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    2020CMAKE_INSTALL:=1 
     
    3333  SECTION:=base 
    3434  CATEGORY:=Base system 
    35   DEPENDS:=+ubusd +ubus +libjson-script +ubox +USE_EGLIBC:librt +libubox +libubus +NAND_SUPPORT:procd-nand 
     35  DEPENDS:=+ubusd +ubus +libjson-script +ubox +USE_EGLIBC:librt +libubox +libubus +NAND_SUPPORT:procd-nand +PROCD_ZRAM_TMPFS:kmod-zram +PROCD_ZRAM_TMPFS:e2fsprogs 
    3636  TITLE:=OpenWrt system process manager 
    3737endef 
     
    5252        default n 
    5353        prompt "Print the shutdown to the console as well as logging it to syslog" 
     54 
     55config PROCD_ZRAM_TMPFS 
     56        bool 
     57        default n 
     58        prompt "Mount /tmp using zram." 
    5459endmenu 
    5560endef 
    5661 
    57 PKG_CONFIG_DEPENDS:= PROCD_SHOW_BOOT 
     62PKG_CONFIG_DEPENDS:= PROCD_SHOW_BOOT PROCD_ZRAM_TMPFS 
    5863 
    59 ifeq ($(CONFIG_PACKAGE_PROCD_SHOW_BOOT),y) 
    60   CMAKE_OPTIONS += -DSHOW_BOOT_ON_CONSOLE 
     64ifeq ($(CONFIG_PROCD_SHOW_BOOT),y) 
     65  CMAKE_OPTIONS += -DSHOW_BOOT_ON_CONSOLE=1 
     66endif 
     67 
     68ifeq ($(CONFIG_PROCD_ZRAM_TMPFS),y) 
     69  CMAKE_OPTIONS += -DZRAM_TMPFS=1 
    6170endif 
    6271 
Note: See TracChangeset for help on using the changeset viewer.