Make it boot into enlightenment 57/5457/1 accepted/tizen/20130703.134559 submit/tizen/20130703.142115
authorAnas Nashif <anas.nashif@intel.com>
Wed, 3 Jul 2013 14:17:25 +0000 (10:17 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 3 Jul 2013 14:19:12 +0000 (10:19 -0400)
- Fixed systemd target
- Add build ID to os-release
- Do not use uuid in fstab
- Do not create /opt partition

base.yaml
ks/enlightenment.yaml
packaging/meta-base.changes
partitions/base
scripts/base-e17-default.post
scripts/buildname.nochroot [new file with mode: 0644]

index 349d5ff..2764f5e 100644 (file)
--- a/base.yaml
+++ b/base.yaml
@@ -8,20 +8,22 @@ Default:
     RootPass: tizen
     DefaultUser: tizen
     DefaultUserPass: tizen
-    BootloaderOptions: '--menus="install:Wipe and Install:systemd.unit=pc-installer.service:test"'
+    BootloaderOptions: ' --menus="install:Wipe and Install:systemd.unit=pc-installer.service:test"'
 
 
 
 BASE:
     Bootloader: True
-    BootloaderAppend: "vga=current quiet splash"
+    BootloaderAppend: "vga=current quiet splash rootwait rootfstype=ext4"
     BootloaderTimeout: 1
     SaveRepos: True
     StartX: False
     Architecture: x86_64
     Desktop: None
-    Mic2Options: -f liveusb --copy-kernel --runtime=native
+    Mic2Options: -f raw --copy-kernel --runtime=native
     Part: base
+    NoChrootScripts:
+        - buildname
     Groups:
         - Base System
     Repos:
index 9b2a2d3..8c4f2e9 100644 (file)
@@ -5,7 +5,7 @@ Platform: BASE
 FileName: enlightenment
 Kernel: kernel-adaptation-pc
 Architecture: x86_64
-Mic2Options: -f raw --copy-kernel --runtime=native --compress-disk-image=bz2 --generate-bmap
+Mic2Options: -f raw --copy-kernel --runtime=native --compress-disk-image=bz2 --generate-bmap --fstab-name
 Desktop: None
 PostScripts:
     - base-general
index d75e28e..16cc45b 100644 (file)
@@ -1,3 +1,10 @@
+* Wed Jul 03 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130703.125236@454e022
+- Make it boot into enlightenment
+ - Fixed systemd target
+ - Add build ID to os-release
+ - Do not use uuid in fstab
+ - Do not create /opt partition
+
 * Wed Jul 03 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130628.165825@51ecff2
 - generate bmap
 
index 6b83ee9..cf96d13 100644 (file)
@@ -1,3 +1,2 @@
 part /boot --size 64 --ondisk sdb --fstype=ext4 --label boot --active --align 1024
-part /opt --size 676 --ondisk sdb --fstype=ext4 --label opt --align 1024
 part / --size 3072 --ondisk sdb --fstype=ext4 --label platform --align 1024
index af41feb..0d81388 100644 (file)
@@ -1,2 +1,3 @@
+mkdir -p /usr/lib/systemd/system/graphical.target.wants
 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/buildname.nochroot b/scripts/buildname.nochroot
new file mode 100644 (file)
index 0000000..36ae504
--- /dev/null
@@ -0,0 +1,5 @@
+# buildname.nochroot 
+if [ -n "$IMG_NAME" ]; then
+    echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/tizen-release
+    echo "BUILD_ID=$IMG_NAME" >> $INSTALL_ROOT/etc/os-release
+fi