mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
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:
1
meta/packages/base-files/base-files/akita/rotation
Normal file
1
meta/packages/base-files/base-files/akita/rotation
Normal file
@@ -0,0 +1 @@
|
||||
270
|
||||
1
meta/packages/base-files/base-files/rotation
Normal file
1
meta/packages/base-files/base-files/rotation
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
1
meta/packages/base-files/base-files/spitz/rotation
Normal file
1
meta/packages/base-files/base-files/spitz/rotation
Normal file
@@ -0,0 +1 @@
|
||||
270
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user