mirror of https://github.com/OpenIPC/firmware.git
Autogenerate version of building
parent
dd7b469799
commit
67c2afbee8
|
@ -6,6 +6,7 @@ iface lo inet loopback
|
||||||
auto eth0
|
auto eth0
|
||||||
iface eth0 inet dhcp
|
iface eth0 inet dhcp
|
||||||
hwaddress ether $(fw_printenv -n ethaddr || echo 00:24:B8:FF:FF:FF)
|
hwaddress ether $(fw_printenv -n ethaddr || echo 00:24:B8:FF:FF:FF)
|
||||||
|
#pre-up echo -e "nameserver 77.88.8.8\nnameserver 8.8.4.4\n" >/tmp/resolv.conf
|
||||||
|
|
||||||
manual wlan0
|
manual wlan0
|
||||||
iface wlan0 inet dhcp
|
iface wlan0 inet dhcp
|
||||||
|
|
|
@ -4,7 +4,8 @@ export HOME=${HOME:-/root}
|
||||||
export TZ=$(cat /etc/TZ)
|
export TZ=$(cat /etc/TZ)
|
||||||
|
|
||||||
if [ "$PS1" ]; then
|
if [ "$PS1" ]; then
|
||||||
[ -f /etc/openipc_banner ] && echo -e "\n\e[1;36m$(cat /etc/openipc_banner)\e[0m\n"
|
[ -f /etc/openipc_version ] && . /etc/openipc_version
|
||||||
|
[ -f /etc/openipc_banner ] && echo -ne "\n\e[1;36m$(cat /etc/openipc_banner) v$OPENIPC_VERSION\e[0m\n\n"
|
||||||
[ -f /etc/openipc_donators ] && echo -e "\n\e[1;36m$(cat /etc/openipc_donators)\e[0m\n\n"
|
[ -f /etc/openipc_donators ] && echo -e "\n\e[1;36m$(cat /etc/openipc_donators)\e[0m\n\n"
|
||||||
#
|
#
|
||||||
if [ "`id -u`" -eq 0 ]; then
|
if [ "`id -u`" -eq 0 ]; then
|
||||||
|
|
|
@ -5,3 +5,5 @@
|
||||||
|
|
||||||
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"'
|
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"'
|
||||||
#
|
#
|
||||||
|
date "+OPENIPC_VERSION=2.1.%m.%d" >${TARGET_DIR}/etc/openipc_version
|
||||||
|
#
|
||||||
|
|
|
@ -8,3 +8,5 @@ echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="musl"'
|
||||||
ln -sfv /lib/libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0
|
ln -sfv /lib/libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0
|
||||||
ln -sfv ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd
|
ln -sfv ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd
|
||||||
#
|
#
|
||||||
|
date "+OPENIPC_VERSION=2.1.%m.%d" >${TARGET_DIR}/etc/openipc_version
|
||||||
|
#
|
|
@ -5,3 +5,5 @@
|
||||||
|
|
||||||
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"'
|
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc"'
|
||||||
#
|
#
|
||||||
|
date "+OPENIPC_VERSION=2.1.%m.%d" >${TARGET_DIR}/etc/openipc_version
|
||||||
|
#
|
||||||
|
|
Loading…
Reference in New Issue