summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-03-28 10:58:21 +0000
committerRichard Purdie <richard@openedhand.com>2007-03-28 10:58:21 +0000
commitbd90b8eebc0f55c2d1511dca54d859710b59007c (patch)
treed6deecec1b7dfa446b3a4e9143205c96f0ddb009 /meta
parentffd6b859368b38fc90963c72c3c86916bcdd086a (diff)
downloadast2050-yocto-poky-bd90b8eebc0f55c2d1511dca54d859710b59007c.zip
ast2050-yocto-poky-bd90b8eebc0f55c2d1511dca54d859710b59007c.tar.gz
base-files: Add rotation file to indicate rotated display on akita/spitz
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1398 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/base-files/base-files/akita/rotation1
-rw-r--r--meta/packages/base-files/base-files/rotation1
-rw-r--r--meta/packages/base-files/base-files/spitz/rotation1
-rw-r--r--meta/packages/base-files/base-files_3.0.14.bb8
4 files changed, 10 insertions, 1 deletions
diff --git a/meta/packages/base-files/base-files/akita/rotation b/meta/packages/base-files/base-files/akita/rotation
new file mode 100644
index 0000000..2a14d60
--- /dev/null
+++ b/meta/packages/base-files/base-files/akita/rotation
@@ -0,0 +1 @@
+270 \ No newline at end of file
diff --git a/meta/packages/base-files/base-files/rotation b/meta/packages/base-files/base-files/rotation
new file mode 100644
index 0000000..c227083
--- /dev/null
+++ b/meta/packages/base-files/base-files/rotation
@@ -0,0 +1 @@
+0 \ No newline at end of file
diff --git a/meta/packages/base-files/base-files/spitz/rotation b/meta/packages/base-files/base-files/spitz/rotation
new file mode 100644
index 0000000..2a14d60
--- /dev/null
+++ b/meta/packages/base-files/base-files/spitz/rotation
@@ -0,0 +1 @@
+270 \ No newline at end of file
diff --git a/meta/packages/base-files/base-files_3.0.14.bb b/meta/packages/base-files/base-files_3.0.14.bb
index cf8a785..9a6c222 100644
--- a/meta/packages/base-files/base-files_3.0.14.bb
+++ b/meta/packages/base-files/base-files_3.0.14.bb
@@ -1,10 +1,11 @@
DESCRIPTION = "Miscellaneous files for the base system."
SECTION = "base"
PRIORITY = "required"
-PR = "r54"
+PR = "r55"
LICENSE = "GPL"
SRC_URI = " \
+ file://rotation \
file://nsswitch.conf \
file://motd \
file://inputrc \
@@ -90,6 +91,11 @@ do_install () {
install -m 0644 ${WORKDIR}/issue.net ${D}${sysconfdir}/issue.net
fi
+ rotation=`cat ${WORKDIR}/rotation`
+ if [ "$rotation" != "0" ]; then
+ install -m 0644 ${WORKDIR}/rotation ${D}${sysconfdir}/rotation
+ fi
+
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}/fstab
install -m 0644 ${WORKDIR}/filesystems ${D}${sysconfdir}/filesystems
install -m 0644 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
OpenPOWER on IntegriCloud