File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # Recomended only with ubuntu distros ( best: hirsute )
4+
35export INCLUDE_PACKAGES
46export NO_COMPRESSION
7+ export SUITE
58
69BUILDNAME=" mate"
710ROOT_DIR=" $( git rev-parse --show-toplevel) "
@@ -13,6 +16,7 @@ OUT_DIR="${ROOT_DIR}/out/${BUILDNAME}"
1316BUILD_ARCH=" aarch64 armhf amd64"
1417PLUGIN_DIR=" ${ROOT_DIR} /plugins"
1518INCLUDE_PACKAGES=" $( cat " $INCLUDE_LIST " ) "
19+ SUITE=" hirsute"
1620ADDITIONAL_CONF=false
1721# shellcheck disable=SC2034
1822ENABLE_EXIT=true
@@ -40,6 +44,12 @@ function stage_one() {
4044
4145function second_stage()
4246{
47+ # => resolv sources.list
48+ echo -e " deb http://ports.ubuntu.com/ubuntu-ports ${SUITE} main restricted\n\
49+ deb-src http://archive.ubuntu.com/ubuntu/ ${SUITE} universe\n\
50+ deb http://ports.ubuntu.com/ubuntu-ports ${SUITE} universe\n" >> " ${OUT_DIR} -${_arch} " /etc/apt/sources.list
51+
52+
4353 if [ -f " $EXTRA_CONFIG_SCRIPT " ]; then
4454 echo -e " ${GREEN} Stage 2: Running extra config script${NC} "
4555 $SUDO cp " $EXTRA_CONFIG_SCRIPT " " ${OUT_DIR} -${_arch} /root"
You can’t perform that action at this time.
0 commit comments