upload source about tizen 2.0 beta release
authorbs1770.kim <bs1770.kim@samsung.com>
Wed, 22 Aug 2012 03:43:30 +0000 (12:43 +0900)
committerbs1770.kim <bs1770.kim@samsung.com>
Wed, 22 Aug 2012 03:43:30 +0000 (12:43 +0900)
Signed-off-by: bs1770.kim <bs1770.kim@samsung.com>
debian/README.Debian [new file with mode: 0644]
debian/changelog
debian/control
debian/copyright
etc/fstab
etc/rc.d/rc.firstboot
etc/rc.d/rc.shutdown
etc/rc.d/rc.sysinit

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..08af8b0
--- /dev/null
@@ -0,0 +1,6 @@
+default-files-aquila for Debian
+-------------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- unknown <youmin.ha@samsung.com>  Mon, 16 Nov 2009 15:13:09 +0900
index 190b36e..f0118d8 100644 (file)
@@ -1,16 +1,86 @@
+system-plugin-slp (0.0.1-14) unstable; urgency=low
+
+  * Add resizing ext4 partitions on the first boot.
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-14
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Thu, 29 Mar 2012 14:47:21 +0900
+
+system-plugin-slp (0.0.1-13) unstable; urgency=low
+
+  * Remove /opt/drvier directory and files
+    - instead of /opt/driver, /lib/modules is used.
+  * spec file update for obs packaging
+  * change the path of fw_printenv
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-13
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Wed, 28 Mar 2012 18:26:22 +0900
+
+system-plugin-slp (0.0.1-12) unstable; urgency=low
+
+  * Remove mdev: udev can work same jobs
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-12
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Wed, 28 Mar 2012 13:40:23 +0900
+
+system-plugin-slp (0.0.1-11) unstable; urgency=low
+
+  * Revert the last change
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-11
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Tue, 27 Mar 2012 09:57:48 +0900
+
+system-plugin-slp (0.0.1-10) unstable; urgency=low
+
+  * copying modules instead of symlinks due to duplucated wifi insmod
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-10
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Tue, 20 Mar 2012 19:24:35 +0900
+
+system-plugin-slp (0.0.1-9) unstable; urgency=low
+
+  * Revert the last change.
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-9
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Mon, 19 Mar 2012 19:56:06 +0900
+
+system-plugin-slp (0.0.1-8) unstable; urgency=low
+
+  * Remove mdev: udev can work same jobs.
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-8
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Tue, 13 Mar 2012 17:19:17 +0900
+
+system-plugin-slp (0.0.1-7) unstable; urgency=low
+
+  * Add to mount modules.img to fstab for driver modules(ko)
+  * Add to make symlinks for driver modules(ko)
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-7
+
+ -- Wonil Choi <wonil22.choi@samsung.com>  Wed, 07 Mar 2012 18:04:55 +0900
+
 system-plugin-slp (0.0.1-6) unstable; urgency=low
 
-  * Remove alsa scenario copy from rc.firstboot
+  * Remove alsa scenario copy in rc.firstboot
+  * Git: slp/pkgs/s/system-plugin-slp
+  * Tag: system-plugin-slp_0.0.1-6
 
- -- KwangHui Cho <kwanghui.cho@samsung.com>  Fri, 16 Mar 2012 17:31:42 +0900
+ -- KwangHui Cho <kwanghui.cho@samsung.com>  Wed, 22 Feb 2012 08:58:42 +0900
 
 system-plugin-slp (0.0.1-5) unstable; urgency=low
 
-  * Modify license file
+  * Fix build and clean error
   * Git: slp/pkgs/s/system-plugin-slp
   * Tag: system-plugin-slp_0.0.1-5
 
- -- Yeongil Jang <yg0577.jang@samsung.com>  Mon, 20 Feb 2012 11:36:15 +0900
+ -- Wonil Choi <wonil22.choi@samsung.com>  Fri, 03 Feb 2012 09:57:58 +0900
 
 system-plugin-slp (0.0.1-4) unstable; urgency=low
 
index 02c879a..97334ee 100755 (executable)
@@ -2,7 +2,7 @@ Source: system-plugin-slp
 Section: misc
 Priority: extra
 Maintainer: Wonil Choi <wonil22.choi@samsung.com>
-Uploaders: Wonil Choi <wonil22.choi@samsung.com>
+Uploaders: Wonil Choi <wonil22.choi@samsung.com>, KwangHui Cho <kwanghui.cho@samsung.com>
 Build-Depends: debhelper (>= 5)
 Standards-Version: 3.7.2
 
index 8da86e2..a814ddb 100644 (file)
@@ -1,15 +1,23 @@
-Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
+This is system-plugin-slp, written and maintained by Jongwoo Chae <jongwoo.chae@samsung.com>
+on Wed Aug 18 16:08:53 KST 2010.
 
-Contact: Wonil Choi <wonil22.choi@samsung.com>
+Copyright Holder:  unknown
 
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
+License:
 
-http://www.apache.org/licenses/LICENSE-2.0
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
 
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this package; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
index 82918cf..ccd47c5 100755 (executable)
--- a/etc/fstab
+++ b/etc/fstab
@@ -5,11 +5,11 @@ tmpfs           /tmp            tmpfs   defaults        0 0
 tmpfs           /var           tmpfs   defaults        0 0
 none           /sys            sysfs   defaults        0 0
 
-# For new partition - 2011/10/06
+# For new partition - 2012/08
 /dev/mmcblk0p1 /csa    ext4    defaults        0 0
 /dev/mmcblk0p2 /boot   ext4    defaults        0 0
 /dev/mmcblk0p5 /       ext4    defaults        0 0
 /dev/mmcblk0p6 /opt    ext4    defaults        0 0
 /dev/mmcblk0p7 /mnt/csc ext4   defaults,noauto 0 0
-/dev/mmcblk0p8 /opt/media vfat uid=0,gid=0,dmask=0000,fmask=0000,iocharset=iso8859-1,utf8,shortname=mixed      0 0
+/dev/mmcblk0p8 /opt/media ext4 defaults        0 0
 /boot/modules.img      /lib/modules    ext4    loop    0 0
index 0700fc1..6c7edc2 100755 (executable)
@@ -6,7 +6,19 @@
 # for /etc/.info/system.info
 /bin/sysinfo
 
-ln -s /opt/etc/X11/xorg.conf.d.default /opt/etc/X11/xorg.conf.d
+#Check machine is SLP7_C210
+MACHINE=`grep Hardware /proc/cpuinfo|cut -d ":" -f 2|tr -d " "`
+if [ $MACHINE == "SLP7_C210" ];then
+       ln -s /opt/etc/X11/xorg.conf.d.slp7 /opt/etc/X11/xorg.conf.d
+else
+       #Check machine is SLP10_C210
+       if [ $MACHINE == "SLP10_C210" ];then
+               ln -s /opt/etc/X11/xorg.conf.d.slp10 /opt/etc/X11/xorg.conf.d
+       else
+               ln -s /opt/etc/X11/xorg.conf.d.default /opt/etc/X11/xorg.conf.d
+       fi
+fi
+
 
 if [ -e /opt/system/csc/.factoryreset ]; then
        rm -f /opt/system/csc/.factoryreset
index ada6bf6..389fdb6 100755 (executable)
@@ -3,10 +3,11 @@
 export DISPLAY=:0
 killall power_manager
 killall -9 udevd
+#killall -9 system_server
 killall -9 xinit
 
-rm -rf /tmp/vip/*
-rm -rf /tmp/permanent/*
+rm -rf /tmp/vip/*                                                               
+rm -rf /tmp/permanent/* 
 
 echo "Run Shutdown animation..."
 nice -n -15 /usr/bin/boot-animation --offmsg " " &
index 79353fc..50c4634 100755 (executable)
@@ -39,11 +39,23 @@ if [ $? -eq 0 ]; then
 fi
 
 # mount
-mount -a
+mount -t ext4 /dev/mmcblk0p6 /opt
 
 if [ ! -e /opt/etc/.firstboot ]; then
+       umount /opt
+# find rootfs partition for resizing and remounting
+       for param in `cat /proc/cmdline`; do
+               if [ "${param:0:5}" = "root=" ]; then
+                       rootfs_part=${param#root=}
+                       break
+               fi
+       done
        ext4_parts=`grep ext4 /etc/fstab | grep mmcblk0 | awk '{print $1};'`
        for part in $ext4_parts; do
+# check all RW partitions in order to resize it withtout mounting excepting rootfs.
+               if [ "$part" != "$rootfs_part" ]; then
+                       e2fsck -y -f $part
+               fi
                echo "resize $part"
                resize2fs $part
        done
@@ -52,6 +64,7 @@ if [ ! -e /opt/etc/.firstboot ]; then
        touch /opt/etc/.firstboot
        sync
 fi
+mount -a
 
 echo -e "[${_G}create base directory in /opt, /var${C_}]"
 # construct directory hierarchy
@@ -84,7 +97,7 @@ chown 0:6508 /dev/snd/pcmC0D0c
 chown 0:6508 /dev/snd/pcmC0D1c
 chown 0:6508 /dev/snd/pcmC0D2c
 chown 0:6508 /dev/snd/pcmC0D3c
-chown 0:6510 /dev/s5p-mfc
+chown 0:6510 /dev/s3c-mfc
 chown 0:6510 /dev/video5
 chown 0:6510 /dev/video6
 chmod 666 /dev/random
@@ -93,6 +106,7 @@ chown :video /dev/fb0
 chown :video /dev/video0
 chown :video /dev/video2
 chown :video /dev/video3
+chown :video /dev/s3c-mem
 chown :6512 /dev/radio0
 chown :6702 /sys/class/backlight/*/brightness
 # change node's owner for torch light
@@ -101,6 +115,7 @@ chmod 664 /sys/class/backlight/*/brightness
 # change files permission for 3D application
 chmod 666 /dev/ump
 chmod 666 /dev/mali
+chmod 666 /dev/slp_global_lock
 
 # Set gst-openmax configure file
 export OMX_CONFIG=/opt/etc/gst-openmax.conf
@@ -115,7 +130,7 @@ chmod 644 /opt/etc/.gstreamer-0.10/registry.bin.arm
 # Modem power on
 echo -e "[${_Y}modem power on${C_}]"
 ln -s /boot/modem.bin /modem/modem.bin
-./usr/bin/xmm6260-boot &
+/usr/bin/xmm6262-boot &
 
 #touch sensor start
 echo 1 > /sys/class/i2c-adapter/i2c-2/2-004a/touchstart
@@ -157,6 +172,9 @@ else
        done
 fi
 
+# change owner and group about /opt/media directory
+chown 5000:5000 /opt/media
+
 echo -e "[${_G}set cpufreq governor${C_}]"
 # Set default cpufreq governor
 echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor