From bd90b8eebc0f55c2d1511dca54d859710b59007c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 28 Mar 2007 10:58:21 +0000 Subject: 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 --- meta/packages/base-files/base-files/akita/rotation | 1 + meta/packages/base-files/base-files/rotation | 1 + meta/packages/base-files/base-files/spitz/rotation | 1 + meta/packages/base-files/base-files_3.0.14.bb | 8 +++++++- 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 meta/packages/base-files/base-files/akita/rotation create mode 100644 meta/packages/base-files/base-files/rotation create mode 100644 meta/packages/base-files/base-files/spitz/rotation (limited to 'meta/packages') 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 000000000..2a14d6089 --- /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 000000000..c22708346 --- /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 000000000..2a14d6089 --- /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 cf8a785d2..9a6c222a6 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 -- cgit v1.2.3