summaryrefslogtreecommitdiff
path: root/libre/debootstrap/gnewsense
diff options
context:
space:
mode:
Diffstat (limited to 'libre/debootstrap/gnewsense')
-rw-r--r--libre/debootstrap/gnewsense13
1 files changed, 5 insertions, 8 deletions
diff --git a/libre/debootstrap/gnewsense b/libre/debootstrap/gnewsense
index 884ac88a0..77805f3fb 100644
--- a/libre/debootstrap/gnewsense
+++ b/libre/debootstrap/gnewsense
@@ -1,4 +1,4 @@
-default_mirror http://archive.gnewsense.org/gnewsense-three/gnewsense
+default_mirror http://archive.gnewsense.org/gnewsense
mirror_style release
download_style apt
finddebs_style from-indices
@@ -23,7 +23,7 @@ work_out_debs () {
# ^^ should be getting debconf here somehow maybe
base="$(get_debs Priority: important)"
elif doing_variant buildd || doing_variant scratchbox; then
- base="apt $(get_debs Build-Essential: yes)"
+ base="apt build-essential"
elif doing_variant minbase; then
base="apt"
fi
@@ -47,12 +47,6 @@ first_stage_install () {
chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
fi
- if doing_variant fakechroot; then
- setup_devices_fakechroot
- else
- setup_devices
- fi
-
x_feign_install () {
local pkg="$1"
local deb="$(debfor $pkg)"
@@ -63,6 +57,7 @@ first_stage_install () {
echo \
"Package: $pkg
Version: $ver
+Maintainer: unknown
Status: install ok installed" >> "$TARGET/var/lib/dpkg/status"
touch "$TARGET/var/lib/dpkg/info/${pkg}.list"
@@ -72,6 +67,8 @@ Status: install ok installed" >> "$TARGET/var/lib/dpkg/status"
}
second_stage_install () {
+ setup_devices
+
x_core_install () {
smallyes '' | in_target dpkg --force-depends --install $(debfor "$@")
}