diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2013-08-21 18:17:52 +0300 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2013-08-21 18:20:56 +0300 |
| commit | 0537685dc76d28808f6333dcb191bb1afce0e02f (patch) | |
| tree | 944b12ab1330854b0ac78221aae8798dd7186b64 | |
| parent | 8751681571addc38eb3acddba165a1e91749e097 (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-core/base-files/base-files/raspberrypi/fstab | 9 | ||||
| -rw-r--r-- | recipes-core/base-files/base-files/raspberrypi/profile | 33 | ||||
| -rw-r--r-- | recipes-core/base-files/base-files_3.0.14.bbappend | 3 |
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 | |||
| 3 | rootfs / auto defaults,noatime 1 1 | ||
| 4 | proc /proc proc defaults 0 0 | ||
| 5 | devpts /dev/pts devpts mode=0620,gid=5 0 0 | ||
| 6 | usbfs /proc/bus/usb usbfs defaults 0 0 | ||
| 7 | tmpfs /var/volatile tmpfs defaults 0 0 | ||
| 8 | tmpfs /dev/shm tmpfs mode=0777 0 0 | ||
| 9 | tmpfs /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 | |||
| 4 | PATH="/usr/local/bin:/usr/bin:/bin" | ||
| 5 | EDITOR="/bin/vi" # needed for packages like cron | ||
| 6 | test -z "$TERM" && TERM="vt100" # Basic terminal capab. For screen etc. | ||
| 7 | |||
| 8 | if [ ! -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 | ||
| 12 | fi | ||
| 13 | |||
| 14 | if [ "`id -u`" -eq 0 ]; then | ||
| 15 | PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: | ||
| 16 | fi | ||
| 17 | if [ "$PS1" ]; then | ||
| 18 | # works for bash and ash (no other shells known to be in use here) | ||
| 19 | PS1='\u@\h:\w\$ ' | ||
| 20 | fi | ||
| 21 | |||
| 22 | if [ -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 | ||
| 29 | fi | ||
| 30 | |||
| 31 | export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM | ||
| 32 | |||
| 33 | umask 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 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | # Don't forget to bump PRINC if you update the extra files. | ||
| 3 | PRINC = "1" | ||
