* DISTRO_APT_PREMIRRORS broken?
@ 2019-11-22 8:52 vijai kumar
2019-11-22 8:58 ` Jan Kiszka
0 siblings, 1 reply; 6+ messages in thread
From: vijai kumar @ 2019-11-22 8:52 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]
Hi All,
DISTRO_APT_PREMIRRORS has no effect on the final wic image.
buildchroot-target/host & isar-bootstrap-target/host has the preferred
mirrors as specified in DISTRO_APT_PREMIRRORS but the final image does not
seem to have it.
Steps to reproduce:
Add the following lines to conf/local.conf
DISTRO_APT_PREMIRRORS = "http://deb.debian.org/debian
http://ftp.debian.org/debian"
bitbake mc:qemuamd64-buster:isar-image-base
I tested with the v0.7 release and it works there. So indeed broken in the
latest master?
Github issue link: https://github.com/ilbers/isar/issues/62
Thanks,
Vijai Kumar K
[-- Attachment #1.2: Type: text/html, Size: 851 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DISTRO_APT_PREMIRRORS broken?
2019-11-22 8:52 DISTRO_APT_PREMIRRORS broken? vijai kumar
@ 2019-11-22 8:58 ` Jan Kiszka
2019-11-22 9:34 ` Vijai Kumar K
0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2019-11-22 8:58 UTC (permalink / raw)
To: vijai kumar, isar-users
On 22.11.19 09:52, vijai kumar wrote:
> Hi All,
>
>
> DISTRO_APT_PREMIRRORS has no effect on the final wic image.
> buildchroot-target/host & isar-bootstrap-target/host has the preferred
> mirrors as specified in DISTRO_APT_PREMIRRORS but the final image does
> not seem to have it.
>
> Steps to reproduce:
> Add the following lines to conf/local.conf
> DISTRO_APT_PREMIRRORS = "http://deb.debian.org/debian
> http://ftp.debian.org/debian"
> bitbake mc:qemuamd64-buster:isar-image-base
>
>
> I tested with the v0.7 release and it works there. So indeed broken in
> the latest master?
>
>
> Github issue link: https://github.com/ilbers/isar/issues/62
>
I wonder why the local premirror settings, often build system related,
should end up on the target? If you want different settings for the
target, change DISTRO_APT_SOURCES, I would say.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DISTRO_APT_PREMIRRORS broken?
2019-11-22 8:58 ` Jan Kiszka
@ 2019-11-22 9:34 ` Vijai Kumar K
2019-11-25 5:38 ` [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear vijaikumar.kanagarajan
0 siblings, 1 reply; 6+ messages in thread
From: Vijai Kumar K @ 2019-11-22 9:34 UTC (permalink / raw)
To: Jan Kiszka; +Cc: vijai kumar, isar-users
On Fri, Nov 22, 2019 at 09:58:51AM +0100, Jan Kiszka wrote:
> On 22.11.19 09:52, vijai kumar wrote:
> > Hi All,
> >
> >
> > DISTRO_APT_PREMIRRORS has no effect on the final wic image.
> > buildchroot-target/host & isar-bootstrap-target/host has the preferred
> > mirrors as specified in DISTRO_APT_PREMIRRORS but the final image does
> > not seem to have it.
> >
> > Steps to reproduce:
> > Add the following lines to conf/local.conf
> > DISTRO_APT_PREMIRRORS = "http://deb.debian.org/debian
> > http://ftp.debian.org/debian"
> > bitbake mc:qemuamd64-buster:isar-image-base
> >
> >
> > I tested with the v0.7 release and it works there. So indeed broken in
> > the latest master?
> >
> >
> > Github issue link: https://github.com/ilbers/isar/issues/62
> >
>
> I wonder why the local premirror settings, often build system related,
> should end up on the target? If you want different settings for the target,
> change DISTRO_APT_SOURCES, I would say.
>
> Jan
I agree. The way it is now makes more sense.
If thats the case, then I believe we should capture this in documentation.
Thanks,
Vijai Kumar K
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear
2019-11-22 9:34 ` Vijai Kumar K
@ 2019-11-25 5:38 ` vijaikumar.kanagarajan
2019-11-25 6:37 ` Jan Kiszka
2019-12-08 15:56 ` Baurzhan Ismagulov
0 siblings, 2 replies; 6+ messages in thread
From: vijaikumar.kanagarajan @ 2019-11-25 5:38 UTC (permalink / raw)
To: isar-users, jan.kiszka; +Cc: Vijai Kumar K
From: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
DISTRO_APT_PREMIRRORS doesnot have effect on the final image.
The final image uses the sources list specified in DISTRO_APT_SOURCES.
Make that clear in the user manual.
Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
---
doc/user_manual.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/user_manual.md b/doc/user_manual.md
index e3266a9..9ac30d1 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -324,7 +324,7 @@ Some other variables include:
- `HOST_DISTRO_APT_SOURCES` - List of apt source files for SDK root filesystem. This variable is optional.
- `HOST_DISTRO_APT_PREFERENCES` - List of apt preference files for SDK root filesystem. This variable is optional.
- `HOST_DISTRO_BOOTSTRAP_KEYS` - Analogously to DISTRO_BOOTSTRAP_KEYS: List of gpg key URIs used to verify apt bootstrap repo for the host.
- - `DISTRO_APT_PREMIRRORS` - The preferred mirror (append it to the default URI in the format `ftp.debian.org my.preferred.mirror`. This variable is optional.
+ - `DISTRO_APT_PREMIRRORS` - The preferred mirror (append it to the default URI in the format `ftp.debian.org my.preferred.mirror`. This variable is optional. PREMIRRORS will be used only for the build. The final images will have the sources list as mentioned in DISTRO_APT_SOURCES.
- `THIRD_PARTY_APT_KEYS` - List of gpg key URIs used to verify apt repos for apt installation after bootstrapping
- `FILESEXTRAPATHS` - The default directories BitBake uses when it processes recipes are initially defined by the FILESPATH variable. You can extend FILESPATH variable by using FILESEXTRAPATHS.
- `FILESOVERRIDES` - A subset of OVERRIDES used by the build system for creating FILESPATH. The FILESOVERRIDES variable uses overrides to automatically extend the FILESPATH variable.
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear
2019-11-25 5:38 ` [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear vijaikumar.kanagarajan
@ 2019-11-25 6:37 ` Jan Kiszka
2019-12-08 15:56 ` Baurzhan Ismagulov
1 sibling, 0 replies; 6+ messages in thread
From: Jan Kiszka @ 2019-11-25 6:37 UTC (permalink / raw)
To: vijaikumar.kanagarajan, isar-users; +Cc: Vijai Kumar K
On 25.11.19 06:38, vijaikumar.kanagarajan@gmail.com wrote:
> From: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
>
> DISTRO_APT_PREMIRRORS doesnot have effect on the final image.
> The final image uses the sources list specified in DISTRO_APT_SOURCES.
>
> Make that clear in the user manual.
>
> Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com>
> ---
> doc/user_manual.md | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/user_manual.md b/doc/user_manual.md
> index e3266a9..9ac30d1 100644
> --- a/doc/user_manual.md
> +++ b/doc/user_manual.md
> @@ -324,7 +324,7 @@ Some other variables include:
> - `HOST_DISTRO_APT_SOURCES` - List of apt source files for SDK root filesystem. This variable is optional.
> - `HOST_DISTRO_APT_PREFERENCES` - List of apt preference files for SDK root filesystem. This variable is optional.
> - `HOST_DISTRO_BOOTSTRAP_KEYS` - Analogously to DISTRO_BOOTSTRAP_KEYS: List of gpg key URIs used to verify apt bootstrap repo for the host.
> - - `DISTRO_APT_PREMIRRORS` - The preferred mirror (append it to the default URI in the format `ftp.debian.org my.preferred.mirror`. This variable is optional.
> + - `DISTRO_APT_PREMIRRORS` - The preferred mirror (append it to the default URI in the format `ftp.debian.org my.preferred.mirror`. This variable is optional. PREMIRRORS will be used only for the build. The final images will have the sources list as mentioned in DISTRO_APT_SOURCES.
> - `THIRD_PARTY_APT_KEYS` - List of gpg key URIs used to verify apt repos for apt installation after bootstrapping
> - `FILESEXTRAPATHS` - The default directories BitBake uses when it processes recipes are initially defined by the FILESPATH variable. You can extend FILESPATH variable by using FILESEXTRAPATHS.
> - `FILESOVERRIDES` - A subset of OVERRIDES used by the build system for creating FILESPATH. The FILESOVERRIDES variable uses overrides to automatically extend the FILESPATH variable.
>
Looks good, thanks!
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear
2019-11-25 5:38 ` [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear vijaikumar.kanagarajan
2019-11-25 6:37 ` Jan Kiszka
@ 2019-12-08 15:56 ` Baurzhan Ismagulov
1 sibling, 0 replies; 6+ messages in thread
From: Baurzhan Ismagulov @ 2019-12-08 15:56 UTC (permalink / raw)
To: isar-users
On Mon, Nov 25, 2019 at 11:08:18AM +0530, vijaikumar.kanagarajan@gmail.com wrote:
> DISTRO_APT_PREMIRRORS doesnot have effect on the final image.
> The final image uses the sources list specified in DISTRO_APT_SOURCES.
>
> Make that clear in the user manual.
Applied to next with a white space change in the commit message, thanks.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-12-08 15:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-22 8:52 DISTRO_APT_PREMIRRORS broken? vijai kumar
2019-11-22 8:58 ` Jan Kiszka
2019-11-22 9:34 ` Vijai Kumar K
2019-11-25 5:38 ` [PATCH] user_manual: Make usage of DISTRO_APT_PREMIRRORS clear vijaikumar.kanagarajan
2019-11-25 6:37 ` Jan Kiszka
2019-12-08 15:56 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox