凌云实验室IGKBoard开发板BSP开发相关文件
guowenxue
2023-12-12 62e6aa1425b2d347bebc370f0ca53fec914b3fd6
tools/build_debian.sh
@@ -111,6 +111,9 @@
    echo "nameserver 223.5.5.5" > ${ROOTFS_DIR}/etc/resolv.conf
    echo "nameserver 114.114.114.114" >> ${ROOTFS_DIR}/etc/resolv.conf
    # update NTP server
    sed -i "s|^#NTP=.*|NTP=pool.ntp.org|g" ${ROOTFS_DIR}/etc/systemd/timesyncd.conf
    set +e
    # add ls alias for display with color
    grep "color=auto" ${ROOTFS_DIR}/etc/profile > /dev/null 2>&1
@@ -127,7 +130,7 @@
function do_conf()
{
    EXTRA_APPS="vim net-tools network-manager tree file parted locales lsb-release tzdata wireless-tools openssh-server"
    EXTRA_APPS="vim net-tools network-manager tree file parted locales lsb-release tzdata wireless-tools openssh-server systemd-timesyncd"
    pr_warn "\ndebootstrap configure"
@@ -142,10 +145,10 @@
function do_pack()
{
    pr_warn "\npackaget $ROOTFS_DIR"
    pr_warn "\npackage $ROOTFS_DIR"
    cd $PRJ_PATH
    tar -cJf $ROOTFS_DIR.tar.xz $ROOTFS_DIR
    cd $PRJ_PATH/$ROOTFS_DIR
    tar -cJf ../$ROOTFS_DIR.tar.xz *
}
#+-------------------------+