diff options
author | Anas Nashif <anas.nashif@intel.com> | 2010-05-06 23:56:28 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2010-05-06 23:56:28 -0400 |
commit | b3f23061abe8b08e51522ec8e2b5cad0b8571f02 (patch) | |
tree | c46ad210415fff79b4bad9b5b6f7498ddce93675 /custom | |
download | kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.tar.gz kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.tar.bz2 kickstarter-b3f23061abe8b08e51522ec8e2b5cad0b8571f02.zip |
Initial import
Diffstat (limited to 'custom')
-rw-r--r-- | custom/part/custom | 2 | ||||
-rw-r--r-- | custom/scripts/buildname.nochroot | 3 | ||||
-rw-r--r-- | custom/scripts/cleanup.post | 6 | ||||
-rw-r--r-- | custom/scripts/flash.post | 5 | ||||
-rw-r--r-- | custom/scripts/prelink.post | 4 | ||||
-rw-r--r-- | custom/scripts/rpm.post | 9 | ||||
-rw-r--r-- | custom/scripts/serial.post | 2 |
7 files changed, 31 insertions, 0 deletions
diff --git a/custom/part/custom b/custom/part/custom new file mode 100644 index 0000000..d6c8b6b --- /dev/null +++ b/custom/part/custom @@ -0,0 +1,2 @@ +part / --size 1300 --ondisk sda --grow --maxsize=1450 --fstype=ext3 +#part /home --size 1000 --grow --maxsize=1450 --ondisk sdb --fstype=ext3 diff --git a/custom/scripts/buildname.nochroot b/custom/scripts/buildname.nochroot new file mode 100644 index 0000000..edd20a7 --- /dev/null +++ b/custom/scripts/buildname.nochroot @@ -0,0 +1,3 @@ +if [ -n "$IMG_NAME" ]; then + echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release +fi diff --git a/custom/scripts/cleanup.post b/custom/scripts/cleanup.post new file mode 100644 index 0000000..c36c2e4 --- /dev/null +++ b/custom/scripts/cleanup.post @@ -0,0 +1,6 @@ + +# save a little bit of space at least... +rm -f /boot/initrd* + +# make sure there aren't core files lying around +rm -f /core* diff --git a/custom/scripts/flash.post b/custom/scripts/flash.post new file mode 100644 index 0000000..fe062d3 --- /dev/null +++ b/custom/scripts/flash.post @@ -0,0 +1,5 @@ +# verify link of flash plugin +if [ -f /usr/lib/flash-plugin/setup ]; then + sh /usr/lib/flash-plugin/setup install + rm -f /root/oldflashplugins.tar.gz +fi diff --git a/custom/scripts/prelink.post b/custom/scripts/prelink.post new file mode 100644 index 0000000..527548c --- /dev/null +++ b/custom/scripts/prelink.post @@ -0,0 +1,4 @@ +# Prelink can reduce boot time +if [ -x /usr/sbin/prelink ]; then + /usr/sbin/prelink -aRqm +fi diff --git a/custom/scripts/rpm.post b/custom/scripts/rpm.post new file mode 100644 index 0000000..1e4049e --- /dev/null +++ b/custom/scripts/rpm.post @@ -0,0 +1,9 @@ +# work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* +rpm --rebuilddb +if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux +fi +if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-meego ]; then + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-meego +fi diff --git a/custom/scripts/serial.post b/custom/scripts/serial.post new file mode 100644 index 0000000..5961379 --- /dev/null +++ b/custom/scripts/serial.post @@ -0,0 +1,2 @@ +# open serial line console for embedded system +echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab |