summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-08-21 18:17:52 +0300
committerAndrei Gherzan <andrei@gherzan.ro>2013-08-21 18:20:56 +0300
commit0537685dc76d28808f6333dcb191bb1afce0e02f (patch)
tree944b12ab1330854b0ac78221aae8798dd7186b64 /recipes-core
parent8751681571addc38eb3acddba165a1e91749e097 (diff)
downloadmeta-raspberrypi-0537685dc76d28808f6333dcb191bb1afce0e02f.tar.gz
base-files: Remove profile and fstab
Remove these files as the default ones work just OK. Moreover, not having /run mounted as tmpfs, would break mounting root as read only. This is done in the default fstab so use that one. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/base-files/base-files/raspberrypi/fstab9
-rw-r--r--recipes-core/base-files/base-files/raspberrypi/profile33
-rw-r--r--recipes-core/base-files/base-files_3.0.14.bbappend3
3 files changed, 0 insertions, 45 deletions
diff --git a/recipes-core/base-files/base-files/raspberrypi/fstab b/recipes-core/base-files/base-files/raspberrypi/fstab
deleted file mode 100644
index 55da1df..0000000
--- a/recipes-core/base-files/base-files/raspberrypi/fstab
+++ /dev/null
@@ -1,9 +0,0 @@
1# stock fstab for the RaspberryPi - you may want to tweak this to suit.
2
3rootfs / auto defaults,noatime 1 1
4proc /proc proc defaults 0 0
5devpts /dev/pts devpts mode=0620,gid=5 0 0
6usbfs /proc/bus/usb usbfs defaults 0 0
7tmpfs /var/volatile tmpfs defaults 0 0
8tmpfs /dev/shm tmpfs mode=0777 0 0
9tmpfs /media/ram tmpfs defaults 0 0
diff --git a/recipes-core/base-files/base-files/raspberrypi/profile b/recipes-core/base-files/base-files/raspberrypi/profile
deleted file mode 100644
index 55568ad..0000000
--- a/recipes-core/base-files/base-files/raspberrypi/profile
+++ /dev/null
@@ -1,33 +0,0 @@
1# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
2# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
3
4PATH="/usr/local/bin:/usr/bin:/bin"
5EDITOR="/bin/vi" # needed for packages like cron
6test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc.
7
8if [ ! -e /etc/localtime -a ! -e /etc/TZ ]; then
9 TZ="UTC" # Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html
10 # for an explanation of how to set this to your local timezone.
11 export TZ
12fi
13
14if [ "`id -u`" -eq 0 ]; then
15 PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
16fi
17if [ "$PS1" ]; then
18# works for bash and ash (no other shells known to be in use here)
19 PS1='\u@\h:\w\$ '
20fi
21
22if [ -d /etc/profile.d ]; then
23 for i in /etc/profile.d/*.sh; do
24 if [ -r $i ]; then
25 . $i
26 fi
27 done
28 unset i
29fi
30
31export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
32
33umask 022
diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
deleted file mode 100644
index 36432f5..0000000
--- a/recipes-core/base-files/base-files_3.0.14.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2# Don't forget to bump PRINC if you update the extra files.
3PRINC = "1"