orangepi-xunlong / OrangePi_Build

The official build system for Orange Pi, support A64, RDA, RK3399
GNU General Public License v2.0
356 stars 180 forks source link

Debian Jessie not in distribution #60

Closed proguard closed 5 years ago

proguard commented 5 years ago

Hi, Trying to follow the procedure in the readme to install an image to the OPi one plus. during the 'build release image' process, it cannot find or download the distribution for 'jessie', it then crashes out. Could this possible be changed to buster. Alternatively, could you give user the option to type the 'dist' in, and it can get the appropriate one.

Many Thanks Ayo

emi-soft commented 5 years ago

Hi, Trying to follow the procedure in the readme to install an image to the OPi one plus. during the 'build release image' process, it cannot find or download the distribution for 'jessie', it then crashes out. Could this possible be changed to buster. Alternatively, could you give user the option to type the 'dist' in, and it can get the appropriate one.

Many Thanks Ayo

If still relevant, in the file scripts/00_rootfs_build.sh change APT_SERVER = mirrors.ustc.edu.cnto APT_SERVER = archive.debian.org

and

 deb https://mirrors.ustc.edu.cn/debian/ $ {release} main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian/ $ {release} main contrib non-free
deb https://mrors.ustc.edu.cn/debian/ $ {release} -updates main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian/ $ {release} -updates main contrib non-free
deb https://mrors.ustc.edu.cn/debian/ $ {release} -backports main contrib non-free
# deb-src https://mirrors.ustc.edu.cn/debian/ $ {release} -backports main contrib non-free

on

deb http://archive.debian.org/debian/ $ {release} main contrib non-free
# deb-src http://archive.debian.org/debian/ $ {release} main contrib non-free
deb http://archive.debian.org/debian/ $ {release} -updates main contrib non-free
# deb-src http://archive.debian.org/debian/ $ {release} -updates main contrib non-free
deb http://archive.debian.org/debian/ $ {release} -backports main contrib non-free
# deb-src http://archive.debian.org/debian/ $ {release} -backports main contrib non-free

It helped me to collect the image.

proguard commented 5 years ago

Thanks