create a common package for patterns
authorAnas Nashif <anas.nashif@intel.com>
Fri, 7 Dec 2012 21:04:30 +0000 (13:04 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Fri, 7 Dec 2012 21:04:30 +0000 (13:04 -0800)
16 files changed:
Makefile
base-repos.yaml [deleted file]
base.yaml [deleted file]
ks/enlightenment.yaml [deleted file]
ks/weston.yaml [deleted file]
packaging/meta-common.changes [new file with mode: 0644]
packaging/meta-common.spec [moved from packaging/meta-base.spec with 54% similarity]
partitioning/README.part [deleted file]
patterns/applications.yaml [deleted file]
patterns/enlightenment.yaml [deleted file]
patterns/slp-fonts.yaml [deleted file]
patterns/wayland.yaml [deleted file]
scripts/base-e17-default.post [deleted file]
scripts/base-general.post [deleted file]
scripts/base-weston-default.post [deleted file]
scripts/workarounds.post [deleted file]

index e5def49..6b88bc8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # ex: set tabstop=4 noexpandtab: 
 VERSION = $(shell cat VERSION)
-NAME=patterns-base
+NAME=meta-common
 TAGVER = $(shell cat VERSION | sed -e "s/\([0-9\.]*\).*/\1/")
 DESTDIR=
 ARCH=i586
@@ -14,21 +14,11 @@ endif
 all:
 
 install:
-       install -d ${DESTDIR}/usr/share/package-groups/base
-       install -d ${DESTDIR}/usr/share/image-configurations/base/configs
-       install -d ${DESTDIR}/usr/share/image-configurations/base/custom
-       install -d ${DESTDIR}/usr/share/image-configurations/base/scripts
-       install -d ${DESTDIR}/usr/share/image-configurations/base/partitioning
-       install -m 644 patterns/*.yaml ${DESTDIR}/usr/share/package-groups/base
-       install -m 644 base.yaml ${DESTDIR}/usr/share/image-configurations/base
-       install -m 644 base-repos.yaml ${DESTDIR}/usr/share/image-configurations/base
-       install -m 644 ks/*.yaml ${DESTDIR}/usr/share/image-configurations/base/configs
-       install -D partitioning/* ${DESTDIR}/usr/share/image-configurations/base/partitioning
-       install -D scripts/* ${DESTDIR}/usr/share/image-configurations/base/scripts
+       install -d ${DESTDIR}/usr/share/package-groups/common
+       install -m 644 patterns/*.yaml ${DESTDIR}/usr/share/package-groups/common
 
 test:
        merge-patterns -o output/ -p patterns -s
-       kickstarter -c base.yaml -e ks -r base-repos.yaml
 
 tag:
        git tag -a $(VERSION) -m "$(VERSION)"
diff --git a/base-repos.yaml b/base-repos.yaml
deleted file mode 100644 (file)
index 832b5a2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Repositories:
-    -   Name: base
-        Url:  https://download.tz.otcshare.org/snapshots/trunk/pc/@BUILD_ID@/repos/base/@ARCH@/packages/
-        Options: --save  --ssl_verify=no
-    -   Name: base-debug
-        Url:  https://download.tz.otcshare.org/snapshots/trunk/pc/@BUILD_ID@/repos/base/@ARCH@/debug/
-        Options: --save  --ssl_verify=no
diff --git a/base.yaml b/base.yaml
deleted file mode 100644 (file)
index 07bc89c..0000000
--- a/base.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-Default:
-    Baseline: tizen-3.0
-    FileSystem: ext3
-    Active: True
-    Language: en_US.UTF-8
-    Keyboard: us
-    SaveRepos:  True
-    Timezone: America/Los_Angeles
-    RootPass: tizen
-    DefaultUser: tizen
-    DefaultUserPass: tizen
-    PartSize: 3200
-    BootloaderOptions: ""
-
-
-BASE:
-    Bootloader: True
-    BootloaderAppend: "vga=current quiet splash"
-    BootloaderTimeout: 1
-    SaveRepos: True
-    StartX: False
-    Architecture: x86_64
-    Desktop: None
-    Mic2Options: -f liveusb --copy-kernel
-    Groups:
-        - Base System
-    Repos:
-        - base
-PC:
-    Bootloader: True
-    BootloaderAppend: "vga=current quiet splash"
-    BootloaderTimeout: 1
-    SaveRepos: True
-    StartX: False
-    Mic2Options: -f liveusb --copy-kernel
-    Architecture: x86_64
-    Desktop: None
-    Groups:
-        - Base System
-    Repos:
-        - base
-        - pc
diff --git a/ks/enlightenment.yaml b/ks/enlightenment.yaml
deleted file mode 100644 (file)
index 0bf2620..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-Name: Base Enlightenment Desktop
-Schedule: "*"
-Active: True
-Platform: BASE
-FileName: enlightenment
-Kernel: kernel-adaptation-pc
-Architecture: x86_64
-Mic2Options: -f liveusb --copy-kernel
-Desktop: None
-PostScripts:
-    - base-general
-    - base-e17-default
-Groups:
-    - Base System
-    - Base Desktop
-    - SLP Fonts
-    - Enlightenment
-    - Development
-    - Applications
-    - Console Tools
diff --git a/ks/weston.yaml b/ks/weston.yaml
deleted file mode 100644 (file)
index ac1fa26..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Name: Weston
-Schedule: "*"
-Active: True
-Platform: BASE
-FileName: weston
-Kernel: kernel-adaptation-pc
-Architecture: x86_64
-Mic2Options: -f liveusb --copy-kernel
-Desktop: None
-UserGroups: "audio,video,weston-launch"
-PostScripts:
-    - base-general
-    - base-weston-default
-Groups:
-    - Base System
-    - SLP Fonts
-    - Wayland
-    - Development
-    - Console Tools
diff --git a/packaging/meta-common.changes b/packaging/meta-common.changes
new file mode 100644 (file)
index 0000000..08ac68e
--- /dev/null
@@ -0,0 +1,9 @@
+* Fri Dec 07 2012 Anas Nashif <anas.nashif@intel.com> submit/trunk/20121116.194845@c6ccc4e
+- rename patterns
+- restructured patterns
+- Move vim to console tools
+- Reorganize structure and add weston images
+- fix bootloader options
+- add e17 test to check if liveusb works on server
+- initial import
+
similarity index 54%
rename from packaging/meta-base.spec
rename to packaging/meta-common.spec
index 2e5ba7c..5fe5278 100644 (file)
@@ -1,5 +1,5 @@
 Summary:       Tizen Package Groups and Images Configurations
-Name:          meta-base
+Name:          meta-common
 Version:       002
 Release:       1
 License:       GPLv2
@@ -21,8 +21,8 @@ make
 
 
 %files
-/usr/share/package-groups/base/*.yaml
-/usr/share/image-configurations/base/*.yaml
-/usr/share/image-configurations/base/configs/*.yaml
-/usr/share/image-configurations/base/scripts
-/usr/share/image-configurations/base/partitioning
+/usr/share/package-groups/common/*.yaml
+/usr/share/image-configurations/common/*.yaml
+/usr/share/image-configurations/common/configs/*.yaml
+/usr/share/image-configurations/common/scripts
+/usr/share/image-configurations/common/partitioning
diff --git a/partitioning/README.part b/partitioning/README.part
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/patterns/applications.yaml b/patterns/applications.yaml
deleted file mode 100644 (file)
index d1cfefb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Description: Applications
-Name: applications
-Packages:
-- xterm
-Summary: Applications
diff --git a/patterns/enlightenment.yaml b/patterns/enlightenment.yaml
deleted file mode 100644 (file)
index cb6c218..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-Description: Enlightenment
-Name: enlightenment
-Packages:
-- enlightenment
-- econnman
-- tizen-branding-default
-- user-session-units-enlightenment
-Summary: Enlightenment
diff --git a/patterns/slp-fonts.yaml b/patterns/slp-fonts.yaml
deleted file mode 100644 (file)
index bd5d795..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: SLP Fonts
-Name: slp-fonts
-Packages:
-- slp-fonts-arabic
-- slp-fonts-basic
-- slp-fonts-chococooky
-- slp-fonts-cooljazz
-- slp-fonts-fallback
-- slp-fonts-hebrew
-- slp-fonts-helvetica
-- slp-fonts-india
-- slp-fonts-japanese
-- slp-fonts-korean
-- slp-fonts-rosemary
-- slp-fonts-thai
-- slp-fonts-webcore
-Summary: SLP Fonts
diff --git a/patterns/wayland.yaml b/patterns/wayland.yaml
deleted file mode 100644 (file)
index 4716da4..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Description: Wayland
-Name: wayland
-Packages:
- - weston
- - xkeyboard-config
- - tizen-branding-default
-Summary: Wayland
diff --git a/scripts/base-e17-default.post b/scripts/base-e17-default.post
deleted file mode 100644 (file)
index af41feb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-ln -sf ../user-session@.service /usr/lib/systemd/system/graphical.target.wants/user-session@1000.service
-ln -sf e17.target  /usr/lib/systemd/user/default.target
diff --git a/scripts/base-general.post b/scripts/base-general.post
deleted file mode 100644 (file)
index e93e748..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-ln -sf /proc/self/mounts /etc/mtab
-
-
-rm -rf /root/.zypp
-
diff --git a/scripts/base-weston-default.post b/scripts/base-weston-default.post
deleted file mode 100644 (file)
index 23dc009..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-ln -sf ../user-session@.service /usr/lib/systemd/system/graphical.target.wants/user-session@1000.service
-ln -sf weston.target  /usr/lib/systemd/user/default.target
diff --git a/scripts/workarounds.post b/scripts/workarounds.post
deleted file mode 100644 (file)
index 928dfa7..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-### WORK AROUNDS - REMOVE ASAP
-
-mkdir /home/tizen
-chown -R 1000: /home/tizen
-
-
-cat > /etc/fstab << EOF
-/dev/sda1 /  ext4  defaults,noatime 0 0
-
-EOF
-