From f74c593b03debf0960ad242eee9700acdbdf7461 Mon Sep 17 00:00:00 2001 From: Xiangfu Date: Mon, 9 Apr 2012 14:40:05 +0800 Subject: [PATCH] nanonote-files: cleanup the file structure. move data/qi_lb60/files to package root --- nanonote-files/Makefile | 3 +++ nanonote-files/{data/qi_lb60 => }/files/etc/asound.state | 0 nanonote-files/{data/qi_lb60 => }/files/etc/config/network | 0 nanonote-files/{data/qi_lb60 => }/files/etc/config/system | 0 nanonote-files/{data/qi_lb60 => }/files/etc/directfbrc | 0 nanonote-files/{data/qi_lb60 => }/files/etc/fw_env.config | 0 nanonote-files/{data/qi_lb60 => }/files/etc/hosts | 0 .../{data/qi_lb60 => }/files/etc/init.d/ben-nanonote | 0 nanonote-files/{data/qi_lb60 => }/files/etc/inittab | 0 nanonote-files/{data/qi_lb60 => }/files/etc/inputrc | 0 nanonote-files/{data/qi_lb60 => }/files/etc/opkg.conf | 0 nanonote-files/{data/qi_lb60 => }/files/etc/profile | 0 .../files/etc/triggerhappy/triggers.d/poweroff.conf | 0 .../files/etc/uci-defaults/01-optimization-for-ben-nanonote | 0 14 files changed, 3 insertions(+) rename nanonote-files/{data/qi_lb60 => }/files/etc/asound.state (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/config/network (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/config/system (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/directfbrc (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/fw_env.config (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/hosts (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/init.d/ben-nanonote (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/inittab (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/inputrc (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/opkg.conf (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/profile (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/triggerhappy/triggers.d/poweroff.conf (100%) rename nanonote-files/{data/qi_lb60 => }/files/etc/uci-defaults/01-optimization-for-ben-nanonote (100%) diff --git a/nanonote-files/Makefile b/nanonote-files/Makefile index 857c3e8..f1b811f 100644 --- a/nanonote-files/Makefile +++ b/nanonote-files/Makefile @@ -45,6 +45,9 @@ endef define Package/nanonote-data-files/install $(INSTALL_DIR) $(1)/usr/share/nanonote/ + $(INSTALL_DIR) $(1)/usr/share/nanonote/files/ + + $(CP) ./files/* $(1)/usr/share/nanonote/files/ $(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/ endef diff --git a/nanonote-files/data/qi_lb60/files/etc/asound.state b/nanonote-files/files/etc/asound.state similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/asound.state rename to nanonote-files/files/etc/asound.state diff --git a/nanonote-files/data/qi_lb60/files/etc/config/network b/nanonote-files/files/etc/config/network similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/config/network rename to nanonote-files/files/etc/config/network diff --git a/nanonote-files/data/qi_lb60/files/etc/config/system b/nanonote-files/files/etc/config/system similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/config/system rename to nanonote-files/files/etc/config/system diff --git a/nanonote-files/data/qi_lb60/files/etc/directfbrc b/nanonote-files/files/etc/directfbrc similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/directfbrc rename to nanonote-files/files/etc/directfbrc diff --git a/nanonote-files/data/qi_lb60/files/etc/fw_env.config b/nanonote-files/files/etc/fw_env.config similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/fw_env.config rename to nanonote-files/files/etc/fw_env.config diff --git a/nanonote-files/data/qi_lb60/files/etc/hosts b/nanonote-files/files/etc/hosts similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/hosts rename to nanonote-files/files/etc/hosts diff --git a/nanonote-files/data/qi_lb60/files/etc/init.d/ben-nanonote b/nanonote-files/files/etc/init.d/ben-nanonote similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/init.d/ben-nanonote rename to nanonote-files/files/etc/init.d/ben-nanonote diff --git a/nanonote-files/data/qi_lb60/files/etc/inittab b/nanonote-files/files/etc/inittab similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/inittab rename to nanonote-files/files/etc/inittab diff --git a/nanonote-files/data/qi_lb60/files/etc/inputrc b/nanonote-files/files/etc/inputrc similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/inputrc rename to nanonote-files/files/etc/inputrc diff --git a/nanonote-files/data/qi_lb60/files/etc/opkg.conf b/nanonote-files/files/etc/opkg.conf similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/opkg.conf rename to nanonote-files/files/etc/opkg.conf diff --git a/nanonote-files/data/qi_lb60/files/etc/profile b/nanonote-files/files/etc/profile similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/profile rename to nanonote-files/files/etc/profile diff --git a/nanonote-files/data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf b/nanonote-files/files/etc/triggerhappy/triggers.d/poweroff.conf similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf rename to nanonote-files/files/etc/triggerhappy/triggers.d/poweroff.conf diff --git a/nanonote-files/data/qi_lb60/files/etc/uci-defaults/01-optimization-for-ben-nanonote b/nanonote-files/files/etc/uci-defaults/01-optimization-for-ben-nanonote similarity index 100% rename from nanonote-files/data/qi_lb60/files/etc/uci-defaults/01-optimization-for-ben-nanonote rename to nanonote-files/files/etc/uci-defaults/01-optimization-for-ben-nanonote