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
|
||||
iface eth0 inet dhcp
|
||||
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
|
||||
iface wlan0 inet dhcp
|
||||
|
|
|
@ -4,7 +4,8 @@ export HOME=${HOME:-/root}
|
|||
export TZ=$(cat /etc/TZ)
|
||||
|
||||
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"
|
||||
#
|
||||
if [ "`id -u`" -eq 0 ]; then
|
||||
|
|
|
@ -5,3 +5,5 @@
|
|||
|
||||
echo 'Note: BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc"'
|
||||
#
|
||||
date "+OPENIPC_VERSION=2.1.%m.%d" >${TARGET_DIR}/etc/openipc_version
|
||||
#
|
||||
|
|
|
@ -7,4 +7,6 @@ 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}/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"'
|
||||
#
|
||||
date "+OPENIPC_VERSION=2.1.%m.%d" >${TARGET_DIR}/etc/openipc_version
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue