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
This commit is contained in:
Richard Purdie 2007-03-28 10:58:21 +00:00
parent ffd6b85936
commit bd90b8eebc
4 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1 @@
270

View File

@ -0,0 +1 @@
0

View File

@ -0,0 +1 @@
270

View File

@ -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