【问题标题】:Debian image build from Ubuntu launchpad从 Ubuntu 启动板构建 Debian 映像
【发布时间】:2015-10-30 14:54:40
【问题描述】:

我从以下链接下载了构建脚本和一些构建 debian cd 映像所需的文件

Debian_CD

在自述文件中,它提到我应该编辑镜像的路径。 在CONF.sh

# Paths to the mirrors
export MIRROR=${MIRROR:-$CDIMAGE_ROOT/ftp}

# Comment the following line if you don't have/want non-US
#export NONUS=/ftp/debian-non-US

# Path of the temporary directory
export TDIR=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/tmp
# Path where the images will be written
export OUT=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/debian-cd

# Where we keep the temporary apt stuff.
# This cannot reside on an NFS mount.
export APTTMP=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/apt

# Where extracted debootstrap scripts live
export DEBOOTSTRAP=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/debootstrap

# Where live filesystem images live
export LIVEIMAGES=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/live

我不太确定“mirror”指的是什么以及如何正确设置path

我们将不胜感激。

【问题讨论】:

    标签: ubuntu debian debian-based


    【解决方案1】:

    MIRROR 指的是 APT 软件存储库(通常是 Debian 维护的一个镜像,以节省带宽和下载时间),用于实时构建以检索软件组件以制作实时系统.

    通常如下形式(以ubuntu为例,但url略有不同):

    http://tw.archive.ubuntu.com/ubuntu

    所以在我的情况下,只需修改 CONF.sh 的

    export MIRROR=${MIRROR:-$CDIMAGE_ROOT/ftp}

    export MIRROR=http://tw.archive.ubuntu.com/ubuntu

    您可以通过查看 Debian 网站上的软件镜像部分找到所需的 url。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-04
      • 1970-01-01
      相关资源
      最近更新 更多