elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
966 stars 129 forks source link

ISO-BUILD(own) #665

Open Airmancooma opened 1 year ago

Airmancooma commented 1 year ago

I set the system to use only these: deb http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-security main restricted universe multiverse multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse multiverse and when I look at the tpm/chroot/etc/apt/source.list-file it has this. However when I boot into the system this is in the file: deb cdrom:[ownOS 1.0 own-os - unstable amd64 (20230430)]/ lunar main deb http://archive.ubuntu.com/ubuntu/ lunar main limited universe multiverse multiverse multiverse deb-src http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse multiverse deb-src http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse This is my config:

!/bin/sh

set -e

. ./terraform.conf

if [ "$HWE_KERNEL" = "yes" ]; then KERNEL_FLAVORS="generic-hwe-${BASEVERSION}" else KERNEL_FLAVORS="generic" fi

lb config noauto \ --architectures "$ARCH" \ --mode ubuntu \ --initramfs none \ --distribution "$BASECODENAME" \ --parent-distribution "$BASECODENAME" \ --archive-areas "main restricted universe multiverse" \ --parent-archive-areas "main restricted universe multiverse" \ --linux-packages "linux-headers linux-image" \ --linux-flavours "$KERNEL_FLAVORS" \ --bootappend-live "boot=casper maybe-ubiquity quiet splash" \ --mirror-bootstrap "$MIRROR_URL" \ --parent-mirror-bootstrap "$MIRROR_URL" \ --mirror-chroot-security "http://security.ubuntu.com/ubuntu" \ --parent-mirror-chroot-security "http://security.ubuntu.com/ubuntu" \ --mirror-binary-security "http://security.ubuntu.com/ubuntu" \ --parent-mirror-binary-security "http://security.ubuntu.com/ubuntu" \ --mirror-binary "http://archive.ubuntu.com/ubuntu/" \ --parent-mirror-binary "http://archive.ubuntu.com/ubuntu/" \ --keyring-packages debian-keyring \ --apt-options "--yes --option Acquire::Retries=5 --option Acquire::http::Timeout=100" \ --apt-recommends false \ --cache-packages false \ --uefi-secure-boot disable \ --binary-images iso-hybrid \ --iso-application "$NAME" \ --iso-volume "$NAME" \ --firmware-binary false \ --firmware-chroot false \ --zsync false \ --security true \ --updates true \ --debootstrap-options "--exclude=pinephone-tweaks,mobile-tweaks-common,librem5-tweaks,pinetab-tweaks" \ --checksums md5 \ "${@}"

DATE=$(date +%Y%m%d) sed -i "s/@CHANNEL/$CHANNEL/" config/includes.binary/.disk/info sed -i "s/@CODENAME/$CODENAME/" config/includes.binary/.disk/info sed -i "s/@ARCH/$ARCH/" config/includes.binary/.disk/info sed -i "s/@DISTRO_NAME/$NAME/" config/includes.binary/.disk/info sed -i "s/@VERSION/$VERSION/" config/includes.binary/.disk/info sed -i "s/@DATE/$DATE/" config/includes.binary/.disk/info

sed -i "s/@DISTRO_NAME/$NAME/" config/hooks/live/004-set-os-info.chroot sed -i "s/@VERSION/$VERSION/" config/hooks/live/004-set-os-info.chroot sed -i "s/@CHANNEL/$CHANNEL/" config/hooks/live/004-set-os-info.chroot sed -i "s/@CODENAME/$CODENAME/" config/hooks/live/004-set-os-info.chroot sed -i "s/@BASECODENAME/$BASECODENAME/" config/hooks/live/004-set-os-info.chroot

sed -i "s/@XORG_HWE/$XORG_HWE/" config/package-lists/desktop.list.chroot_install

what should I do to have only these files?: deb http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-security main restricted universe multiverse multiverse multiverse multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse multiverse and not these: deb cdrom:[ownOS 1.0 own-os - unstable amd64 (20230430)]/ lunar main deb http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse multiverse multiverse multiverse deb-src http://archive.ubuntu.com/ubuntu/ lunar main restricted universe multiverse multiverse multiverse multiverse deb http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse multiverse multiverse multiverse deb-src http://archive.ubuntu.com/ubuntu/ lunar-updates main restricted universe multiverse multiverse Any ideas? Thank you in advance for your answers!!!