* [PATCH 1/3] useradd: remove preinst script referring to recipe sysroot
@ 2017-05-09 16:19 Maxin B. John
2017-05-09 16:19 ` [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http Maxin B. John
2017-05-09 16:19 ` [PATCH 3/3] GNU_MIRROR: switch from ftp to https Maxin B. John
0 siblings, 2 replies; 4+ messages in thread
From: Maxin B. John @ 2017-05-09 16:19 UTC (permalink / raw)
To: openembedded-core
Remove recipe-specific-sysroot details from the preinst scripts
generated by useradd.bbclass.
Fixes [YOCTO #11460]
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/classes/useradd.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 4373677..06121b7 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -32,7 +32,7 @@ if test "x$D" != "x"; then
fi
# user/group lookups should match useradd/groupadd --root
- export PSEUDO_PASSWD="$SYSROOT:${STAGING_DIR_NATIVE}"
+ export PSEUDO_PASSWD="$SYSROOT"
fi
# If we're not doing a special SSTATE/SYSROOT install
--
2.4.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http
2017-05-09 16:19 [PATCH 1/3] useradd: remove preinst script referring to recipe sysroot Maxin B. John
@ 2017-05-09 16:19 ` Maxin B. John
2017-05-09 18:05 ` Alexander Kanavin
2017-05-09 16:19 ` [PATCH 3/3] GNU_MIRROR: switch from ftp to https Maxin B. John
1 sibling, 1 reply; 4+ messages in thread
From: Maxin B. John @ 2017-05-09 16:19 UTC (permalink / raw)
To: openembedded-core
All public-facing debian.org FTP services will be shut down on November 1, 2017
The mirrors should just be accessed using HTTP instead.
https://www.debian.org/News/2017/20170425
Fixes [YOCTO #11413]
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/classes/mirrors.bbclass | 34 +++++++++++++++++-----------------
meta/conf/bitbake.conf | 4 ++--
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 1174ef6..9c83463 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -2,23 +2,23 @@ MIRRORS += "\
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool \n \
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool \n \
${DEBIAN_MIRROR} http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.de.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.au.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.cl.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.hr.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.fi.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.hk.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.hu.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.ie.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.it.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.jp.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.no.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.pl.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.ro.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.si.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.es.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.se.debian.org/debian/pool \n \
-${DEBIAN_MIRROR} ftp://ftp.tr.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.de.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.au.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.cl.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.hr.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.fi.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.hk.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.hu.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.ie.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.it.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.jp.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.no.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.pl.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.ro.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.si.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.es.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.se.debian.org/debian/pool \n \
+${DEBIAN_MIRROR} http://ftp.tr.debian.org/debian/pool \n \
${GNU_MIRROR} ftp://mirrors.kernel.org/gnu \n \
${KERNELORG_MIRROR} http://www.kernel.org/pub \n \
${GNUPG_MIRROR} ftp://ftp.gnupg.org/gcrypt \n \
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a24be05..83158fd 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -600,7 +600,7 @@ BBLAYERS_FETCH_DIR ??= "${COREBASE}"
##################################################################
APACHE_MIRROR = "http://archive.apache.org/dist"
-DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool"
+DEBIAN_MIRROR = "http://ftp.debian.org/debian/pool"
GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles"
GNOME_GIT = "git://git.gnome.org"
GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
@@ -634,7 +634,7 @@ SRC_URI[vardepsexclude] += "\
"
# You can use the mirror of your country to get faster downloads by putting
-# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
+# export DEBIAN_MIRROR = "http://ftp.de.debian.org/debian/pool"
# into your local.conf
FETCHCMD_svn = "/usr/bin/env svn --non-interactive --trust-server-cert"
--
2.4.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] GNU_MIRROR: switch from ftp to https
2017-05-09 16:19 [PATCH 1/3] useradd: remove preinst script referring to recipe sysroot Maxin B. John
2017-05-09 16:19 ` [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http Maxin B. John
@ 2017-05-09 16:19 ` Maxin B. John
1 sibling, 0 replies; 4+ messages in thread
From: Maxin B. John @ 2017-05-09 16:19 UTC (permalink / raw)
To: openembedded-core
Based on the same reason behind DEBIAN's switch from ftp:
https://www.debian.org/News/2017/20170425
Signed-off-by: Maxin B. John <maxin.john@intel.com>
---
meta/classes/mirrors.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 9c83463..b7c20b6 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -19,7 +19,7 @@ ${DEBIAN_MIRROR} http://ftp.si.debian.org/debian/pool \n \
${DEBIAN_MIRROR} http://ftp.es.debian.org/debian/pool \n \
${DEBIAN_MIRROR} http://ftp.se.debian.org/debian/pool \n \
${DEBIAN_MIRROR} http://ftp.tr.debian.org/debian/pool \n \
-${GNU_MIRROR} ftp://mirrors.kernel.org/gnu \n \
+${GNU_MIRROR} https://mirrors.kernel.org/gnu \n \
${KERNELORG_MIRROR} http://www.kernel.org/pub \n \
${GNUPG_MIRROR} ftp://ftp.gnupg.org/gcrypt \n \
${GNUPG_MIRROR} ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt \n \
--
2.4.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http
2017-05-09 16:19 ` [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http Maxin B. John
@ 2017-05-09 18:05 ` Alexander Kanavin
0 siblings, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2017-05-09 18:05 UTC (permalink / raw)
To: Maxin B. John, openembedded-core
On 05/09/2017 07:19 PM, Maxin B. John wrote:
> All public-facing debian.org FTP services will be shut down on November 1, 2017
> The mirrors should just be accessed using HTTP instead.
Let's discourage the use of ftp in recipes in general; it's a 1970s relic.
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-09 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 16:19 [PATCH 1/3] useradd: remove preinst script referring to recipe sysroot Maxin B. John
2017-05-09 16:19 ` [PATCH 2/3] DEBIAN_MIRROR: switch from ftp to http Maxin B. John
2017-05-09 18:05 ` Alexander Kanavin
2017-05-09 16:19 ` [PATCH 3/3] GNU_MIRROR: switch from ftp to https Maxin B. John
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.