[Merge] ~juliank/livecd-rootfs:deb822-sources into livecd-rootfs:ubuntu/master
Erich Eickmeyer
mp+458366 at code.launchpad.net
Tue Jan 23 00:48:11 UTC 2024
Since many of Simon's questions went unanswered, and they were very well thought-out questions, I thought I'd bump them and give some responses of my own. Not that any of them are blocking, but seriously think about them and give at least some answers rather than ignoring. :)
Diff comments:
> diff --git a/live-build/functions b/live-build/functions
> index fe93c71..c162b6f 100644
> --- a/live-build/functions
> +++ b/live-build/functions
> @@ -860,49 +860,52 @@ configure_universe() {
> # preinstalled being slightly different in what it doesn't ask) from
> # debian-installer's apt-setup:
>
> - cat > chroot/etc/apt/sources.list << EOF
> + cat > chroot/etc/apt/sources.list.d/ubuntu.sources << EOF
> # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
> # newer versions of the distribution.
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION main restricted
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION main restricted
> -
> -## Major bug fix updates produced after the final release of the
> -## distribution.
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates main restricted
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates main restricted
> -
> -## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
> -## team. Also, please note that software in universe WILL NOT receive any
> -## review or updates from the Ubuntu security team.
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION universe
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION universe
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates universe
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates universe
> -
> -## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
> -## team, and may not be under a free licence. Please satisfy yourself as to
> -## your rights to use the software. Also, please note that software in
> -## multiverse WILL NOT receive any review or updates from the Ubuntu
> -## security team.
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION multiverse
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION multiverse
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates multiverse
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-updates multiverse
> -
> -## N.B. software from this repository may not have been tested as
> -## extensively as that contained in the main release, although it includes
> -## newer versions of some applications which may provide useful features.
> -## Also, please note that software in backports WILL NOT receive any review
> -## or updates from the Ubuntu security team.
> -deb $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-backports main restricted universe multiverse
> -# deb-src $LB_PARENT_MIRROR_BINARY $LB_DISTRIBUTION-backports main restricted universe multiverse
> -
> -deb $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security main restricted
> -# deb-src $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security main restricted
> -deb $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security universe
> -# deb-src $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security universe
> -deb $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security multiverse
> -# deb-src $LB_PARENT_MIRROR_BINARY_SECURITY $LB_DISTRIBUTION-security multiverse
> +
> +## Ubuntu distribution repository
> At the top of Lubuntu's implementation of this, I put a link to http://help.ubuntu.com/community/UpgradeNotes (and that's just about the only change) - would it be useful to include here as well?
Not sure if help.u.c is the proper place since 1) it's community maintained and 2) most of wiki.u.c is moving to discourse, so I think having an equivalent place on discourse would be better. That said, there should definitely be a link to *somewhere*.
> +##
> +## The following settings can be adjusted to configure which packages to use from Ubuntu.
> +## Mirror your choices (except for URIs and Suites) in the security section below to
> +## ensure timely security updates.
> +##
> +## Types: Append deb-src to enable the fetching of source package.
> +## URIs: A URL to the repository (you may add multiple URLs)
> +## Suites: The following additional suites can be configured
> Should -security have an entry here as well?
I'd think -security should be a default!
> +## <name>-updates - Major bug fix updates produced after the final release of the
> +## distribution.
> +## <name>-backports - software from this repository may not have been tested as
> +## extensively as that contained in the main release, although it includes
> +## newer versions of some applications which may provide useful features.
> +## Also, please note that software in backports WILL NOT receive any review
> +## or updates from the Ubuntu security team.
> +## Components: Aside from main, the following components can be added to the list
> +## restricted - Software that may not be under a free license, or protected by patents.
> +## universe - Community maintained packages.
> +## Software from this repository is only maintained and supported by Canonical
> +## for machines with Ubuntu Pro subscriptions. Without Ubuntu Pro, the Ubuntu
> +## community provides best-effort security maintenance.
> +## multiverse - Community maintained of restricted. Software from this repository is
> +## ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free
> +## licence. Please satisfy yourself as to your rights to use the software.
> +## Also, please note that software in multiverse WILL NOT receive any
> +## review or updates from the Ubuntu security team.
> +##
> +## See the sources.list(5) manual page for further settings.
> +Types: deb
> +URIs: $LB_PARENT_MIRROR_BINARY
> +Suites: $LB_DISTRIBUTION $LB_DISTRIBUTION-updates $LB_DISTRIBUTION-backports
> +Components: main universe restricted multiverse
> +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
> +
> +## Ubuntu security updates. Aside from URIs and Suites,
> +## this should mirror your choices in the previous section.
> +Types: deb
> +URIs: $LB_PARENT_MIRROR_BINARY_SECURITY
> +Suites: $LB_DISTRIBUTION-security
> +Components: main universe restricted multiverse
> +Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
> EOF
>
> fi
> diff --git a/magic-proxy b/magic-proxy
> index af765c3..598ad69 100755
> --- a/magic-proxy
> +++ b/magic-proxy
> @@ -643,6 +643,11 @@ class LPInReleaseIndexCli:
> """Inject by-hash and inrelease-path settings into a sources.list."""
> sources_list = self._infile
>
> + if sources_list.endswith(".sources"):
> + sys.stderr.write("{}: Injection not supported for deb822: {}.\n"
> + .format(self._name, sources_list))
> + sys.exit(EXIT_ERR)
>it could very well be worth documenting in a semi-large comment above a line such as this, stating *why* sources.list is no longer a thing.
I agree with this. We're going from something people expect to see (sources.list) to something that is no longer a thing. Saying "because reasons" is not something the general public likes to hear without a well thought-out explanation, and we owe it to the community and to the customers that have seen sources.list in this spot for literal decades now.
> +
> if not os.path.exists(sources_list):
> sys.stderr.write("{}: No such file: {}.\n"
> .format(self._name, sources_list))
--
https://code.launchpad.net/~juliank/livecd-rootfs/+git/livecd-rootfs/+merge/458366
Your team Ubuntu Core Development Team is subscribed to branch livecd-rootfs:ubuntu/master.
More information about the Ubuntu-reviews
mailing list