mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
sysutils/debootstrap: install mremap(2) apt(8) workaround
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b53abbd839
commit
af9d31c12b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561563
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= debootstrap
|
||||
PORTVERSION= 1.0.123
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= DEBIAN/pool/main/d/${PORTNAME}
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
@ -36,3 +36,16 @@
|
||||
fi
|
||||
|
||||
if [ -x "$TARGET/sbin/initctl.REAL" ]; then
|
||||
@@ -267,6 +281,12 @@ echo \"Warning: Fake initctl called, doing nothing\""
|
||||
fi
|
||||
mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon"
|
||||
rm -f "$TARGET/usr/sbin/policy-rc.d"
|
||||
+
|
||||
+ echo \
|
||||
+"# Workaround for Linuxulator missing mremap(2) support; without it,
|
||||
+# apt(8) fails like this:
|
||||
+# E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start.
|
||||
+APT::Cache-Start 251658240;" >> "$TARGET/etc/apt/apt.conf.d/00freebsd"
|
||||
|
||||
progress $bases $bases CONFBASE "Configuring base system"
|
||||
info BASESUCCESS "Base system installed successfully."
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- scripts/debian-common.orig 2021-01-12 21:19:09 UTC
|
||||
--- scripts/debian-common.orig 2020-03-13 02:04:21 UTC
|
||||
+++ scripts/debian-common
|
||||
@@ -200,10 +200,21 @@ echo \"Warning: Fake start-stop-daemon called, doing n
|
||||
predep=$(without "$(without "$(resolve_deps $predep)" "$required")" "$done_predeps")
|
||||
@ -22,3 +22,16 @@
|
||||
done
|
||||
|
||||
if [ -n "$base" ]; then
|
||||
@@ -222,6 +233,12 @@ echo \"Warning: Fake start-stop-daemon called, doing n
|
||||
|
||||
mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon"
|
||||
rm -f "$TARGET/usr/sbin/policy-rc.d"
|
||||
+
|
||||
+ echo \
|
||||
+"# Workaround for Linuxulator missing mremap(2) support; without it,
|
||||
+# apt(8) fails like this:
|
||||
+# E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start.
|
||||
+APT::Cache-Start 251658240;" >> "$TARGET/etc/apt/apt.conf.d/00freebsd"
|
||||
|
||||
progress $bases $bases CONFBASE "Configuring base system"
|
||||
info BASESUCCESS "Base system installed successfully."
|
||||
|
Loading…
Reference in New Issue
Block a user