瀏覽代碼

Stick with jessie

Bob Mottram 7 年之前
父節點
當前提交
0ee038545f
共有 2 個文件被更改,包括 3 次插入0 次删除
  1. 2
    0
      src/freedombone-image-customise
  2. 1
    0
      src/freedombone-upgrade

+ 2
- 0
src/freedombone-image-customise 查看文件

@@ -387,6 +387,7 @@ EOF
387 387
     echo "    cd /root/${PROJECT_NAME}" >> $rootdir/root/.bashrc
388 388
     echo "    git stash" >> $rootdir/root/.bashrc
389 389
     echo "    git pull" >> $rootdir/root/.bashrc
390
+    echo "    git checkout jessie" >> $rootdir/root/.bashrc
390 391
     echo "    make install" >> $rootdir/root/.bashrc
391 392
 
392 393
     if [[ $VARIANT != "mesh" && $VARIANT != "meshclient" && $VARIANT != "meshusb" && $VARIANT != "usb" ]]; then
@@ -1295,6 +1296,7 @@ sed -i "s|host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-dae
1295 1296
 chroot "$rootdir" /bin/bash -x <<EOF
1296 1297
 git clone $PROJECT_REPO /root/$PROJECT_NAME
1297 1298
 cd /root/$PROJECT_NAME
1299
+git checkout jessie
1298 1300
 make install
1299 1301
 EOF
1300 1302
 

+ 1
- 0
src/freedombone-upgrade 查看文件

@@ -87,6 +87,7 @@ if [ -d $PROJECT_DIR ]; then
87 87
         else
88 88
             git_pull $PROJECT_REPO origin/$DEVELOPMENT_BRANCH
89 89
         fi
90
+        git checkout jessie
90 91
         make install
91 92
         if [ -d /usr/share/${PROJECT_NAME} ]; then
92 93
             chown -R root:root /usr/share/${PROJECT_NAME}