add to scripts to configure the base system
authorAnas Nashif <anas.nashif@intel.com>
Sun, 11 Nov 2012 18:13:38 +0000 (10:13 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sun, 11 Nov 2012 18:13:38 +0000 (10:13 -0800)
image-configs/custom/scripts/base-e17-default.post [new file with mode: 0644]
image-configs/custom/scripts/base-general.post [new file with mode: 0644]

diff --git a/image-configs/custom/scripts/base-e17-default.post b/image-configs/custom/scripts/base-e17-default.post
new file mode 100644 (file)
index 0000000..af41feb
--- /dev/null
@@ -0,0 +1,2 @@
+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/image-configs/custom/scripts/base-general.post b/image-configs/custom/scripts/base-general.post
new file mode 100644 (file)
index 0000000..3352121
--- /dev/null
@@ -0,0 +1,17 @@
+ln -sf /proc/self/mounts /etc/mtab
+
+cat >> /etc/zypp/repos.d/tizen.repo << EOF
+[base]
+name=base
+enabled=1
+autorefresh=0
+baseurl=https://nashif:fr!s1neu@download.tz.otcshare.org/snapshots/trunk/pc/latest/repos/base/x86_64/packages/?proxy=10.0.1.29&proxyport=8080&ssl_verify=no
+type=rpm-md
+gpgcheck=0
+
+EOF
+
+rm -rf /root/.zypp
+
+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