Skip to content

Commit e75fe5d

Browse files
Merge pull request #35 from RandomCoderOrg/bump-debootstrap
Bump debootstrap
2 parents f82bc7c + b2ab4f0 commit e75fe5d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+346
-6389
lines changed

.github/scripts/build-jammy.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ EOF
6060

6161
# set up pv
6262
lshout "Setting up pv..."
63-
cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
64-
run_cmd "dpkg -i /pv-${t_arch}.deb"
65-
run_cmd "rm /pv-${t_arch}.deb"
63+
# cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
64+
# run_cmd "dpkg -i /pv-${t_arch}.deb"
65+
# run_cmd "rm /pv-${t_arch}.deb"
66+
run_cmd "apt update"
67+
run_cmd "apt install pv -y"
68+
run_cmd "apt clean"
6669

6770
# clean any archive if exits
6871
apt-get clean

.github/workflows/build-udroid.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- name: checkout repo
1515
uses: actions/checkout@v3
16+
with:
17+
submodules: recursive
1618

1719
- name: Docker Setup QEMU
1820
uses: docker/setup-qemu-action@v2

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "core/debootstrap"]
2+
path = core/debootstrap
3+
url = https://git.launchpad.net/ubuntu/+source/debootstrap
4+
branch = ubuntu/devel

build-jammy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ EOF
5454

5555
# set up pv
5656
lshout "Setting up pv..."
57-
cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
58-
run_cmd "dpkg -i /pv-${t_arch}.deb"
59-
run_cmd "rm /pv-${t_arch}.deb"
57+
run_cmd "apt update"
58+
run_cmd "apt install pv -y"
59+
run_cmd "apt clean"
6060

6161
}
6262

core/debootstrap

Submodule debootstrap added at 5dfcdef

core/debootstrap-scripts/functions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../debootstrap/functions
File renamed without changes.

core/debootstrap/scripts/amber renamed to core/debootstrap-scripts/scripts/amber

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# For PureOS "amber"
3-
# PureOS: https://www.pureos.net/
3+
# PureOS: https://www.pureos.net/
44
# Contact: https://tracker.pureos.net/
55

66
mirror_style release
@@ -24,17 +24,18 @@ esac
2424
work_out_debs () {
2525
required="$(get_debs Priority: required)"
2626

27+
base="pureos-archive-keyring"
2728
if doing_variant - || doing_variant fakechroot; then
2829
#required="$required $(get_debs Priority: important)"
2930
# ^^ should be getting debconf here somehow maybe
30-
base="$(get_debs Priority: important)"
31+
base="$base $(get_debs Priority: important)"
3132

3233
# we want the PureOS minimal dependency set to be installed
3334
base="$base pureos-minimal"
3435
elif doing_variant buildd; then
35-
base="apt build-essential"
36+
base="$base apt build-essential"
3637
elif doing_variant minbase; then
37-
base="apt"
38+
base="$base apt"
3839
fi
3940

4041
if doing_variant fakechroot; then
@@ -53,8 +54,8 @@ first_stage_install () {
5354
MERGED_USR="yes"
5455
EXTRACT_DEB_TAR_OPTIONS="$EXTRACT_DEB_TAR_OPTIONS -k"
5556

56-
setup_merged_usr
5757
extract $required
58+
merge_usr
5859

5960
mkdir -p "$TARGET/var/lib/dpkg"
6061
: >"$TARGET/var/lib/dpkg/status"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
robur
File renamed without changes.

0 commit comments

Comments
 (0)