Skip to content

Commit

Permalink
Override default /etc/skel/{.bashrc,.profile} created by base-files r…
Browse files Browse the repository at this point in the history
…ecipe
  • Loading branch information
ydamigos committed Jan 18, 2014
1 parent 1cb34fc commit 7e40593
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
12 changes: 12 additions & 0 deletions recipes-core/base-files/base-files_3.0.14.bbappend
@@ -0,0 +1,12 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# Don't forget to bump PRINC if you update the extra files.
PRINC = "1"

SRC_URI += "file://profile \
file://bashrc \
"

do_install_append() {
install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/skel/.profile
install -m 0644 ${WORKDIR}/bashrc ${D}${sysconfdir}/skel/.bashrc
}
5 changes: 0 additions & 5 deletions recipes-openpandora/openpandora-system/openpandora-skel.bb
Expand Up @@ -12,8 +12,6 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=956931f56ef227f7d172a149ddb40b
SRC_URI = " \
file://LICENSE \
file://.xinitrc \
file://bashrc \
file://profile \
file://mplayconfig \
file://pam_environment \
file://xsettings.xml \
Expand Down Expand Up @@ -55,9 +53,6 @@ do_install() {
}

# install -m 0644 ${WORKDIR}/op_btenabled ${D}${sysconfdir}/skel/.op_btenabled
# install -m 0644 ${WORKDIR}/bashrc ${D}${sysconfdir}/skel/.bashrc
# install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/skel/.profile

PACKAGE_ARCH = "${MACHINE_ARCH}"

FILES_${PN} = "/*"

0 comments on commit 7e40593

Please sign in to comment.