Add /root/.bashrc to mkimg and makeupdate.

pull/339/head v0.8r2
Christopher Young 2016-03-21 13:42:10 -04:00
rodzic 6a9f1ff8e6
commit db130aab76
4 zmienionych plików z 26 dodań i 3 usunięć

21
image/bashrc.txt 100644
Wyświetl plik

@ -0,0 +1,21 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
export PATH=/root/go/bin:${PATH}
export GOROOT=/root/go
export GOPATH=/root/go_path

Wyświetl plik

@ -60,9 +60,7 @@ cp -f ../linux-mpu9150/libimu.so mnt/usr/lib/libimu.so
#go1.5.1 setup
cp -rf /root/go mnt/root/
##echo export PATH=/root/go/bin:\$\{PATH\} >>mnt/root/.bashrc
##echo export GOROOT=/root/go >>mnt/root/.bashrc
##echo export GOPATH=/root/go_path >>mnt/root/.bashrc
cp -f bashrc.txt mnt/root/.bashrc
#rtl-sdr setup
cp -f rtl-sdr-blacklist.conf mnt/etc/modprobe.d/

Wyświetl plik

@ -24,6 +24,7 @@ cp -r web work/bin/
cp image/hostapd.conf work/bin/
cp image/config.txt work/bin/
cp image/rtl-sdr-blacklist.conf work/bin/
cp image/bashrc.txt work/bin/
#TODO: librtlsdr.
cd work/

Wyświetl plik

@ -18,6 +18,9 @@ cp -f config.txt /boot/config.txt
#modprobe.d blacklist
cp -f rtl-sdr-blacklist.conf /etc/modprobe.d/
#go setup
cp -f bashrc.txt /root/.bashrc
cp -f dump1090 /usr/bin/
# Web files install.