Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bbdac87d authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: transfer user_name/release_date thru the /etc/rcn-ee.conf list


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent cbc7aed0
Branches
Tags
No related merge requests found
......@@ -250,6 +250,8 @@ debian)
#Backward compatibility, as setup_sdcard.sh expects [lsb_release -si > /etc/rcn-ee.conf]
echo "distro=Debian" > /tmp/rcn-ee.conf
echo "user_name=${user_name}" >> /tmp/rcn-ee.conf
echo "release_date=${time}" >> /tmp/rcn-ee.conf
sudo mv /tmp/rcn-ee.conf ${tempdir}/etc/rcn-ee.conf
;;
......@@ -281,6 +283,8 @@ ubuntu)
#Backward compatibility, as setup_sdcard.sh expects [lsb_release -si > /etc/rcn-ee.conf]
echo "distro=Ubuntu" > /tmp/rcn-ee.conf
echo "user_name=${user_name}" >> /tmp/rcn-ee.conf
echo "release_date=${time}" >> /tmp/rcn-ee.conf
sudo mv /tmp/rcn-ee.conf ${tempdir}/etc/rcn-ee.conf
;;
......
......@@ -32,9 +32,10 @@ node_prefix="/usr"
node_release="0.10.25"
node_build_options="--without-snapshot --shared-cares --shared-openssl --shared-zlib --prefix=${node_prefix}"
user_name="debian"
. /.project
#contains: user_name, release_date
if [ -f /etc/rcn-ee.conf ] ; then
. /etc/rcn-ee.conf
fi
is_this_qemu () {
unset warn_qemu_will_fail
......@@ -125,7 +126,7 @@ install_desktop_branding () {
}
dogtag () {
echo "BeagleBoard.org BeagleBone Debian Image ${time}" > /etc/dogtag
echo "BeagleBoard.org BeagleBone Debian Image ${release_date}" > /etc/dogtag
}
build_node () {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment