mirror of
https://github.com/mvallim/live-custom-ubuntu-from-scratch.git
synced 2025-07-25 16:59:53 +00:00
Merge pull request #46 from andi34/jammy-fix
scripts: switch to Ubuntu Jammy Jellyfish (22.04) by default
This commit is contained in:
1
.github/workflows/build-jammy.yml
vendored
1
.github/workflows/build-jammy.yml
vendored
@ -18,7 +18,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd scripts
|
cd scripts
|
||||||
sed -i -E 's/TARGET_UBUNTU_VERSION=(.*)/TARGET_UBUNTU_VERSION="jammy"/g' default_config.sh
|
sed -i -E 's/TARGET_UBUNTU_VERSION=(.*)/TARGET_UBUNTU_VERSION="jammy"/g' default_config.sh
|
||||||
sed -i -E '/lupin-casper/d' chroot_build.sh
|
|
||||||
./build.sh -
|
./build.sh -
|
||||||
cd ..
|
cd ..
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
Marcos Vallim <tischer@gmail.com>
|
Marcos Vallim <tischer@gmail.com>
|
||||||
Ken Gilmer <kgilmer@gmail.com>
|
Ken Gilmer <kgilmer@gmail.com>
|
||||||
monkey-jsun <>
|
monkey-jsun <>
|
||||||
|
Andreas Blaesius <andi@unlegacy-android.org>
|
||||||
|
@ -103,7 +103,6 @@ function install_pkg() {
|
|||||||
sudo \
|
sudo \
|
||||||
ubuntu-standard \
|
ubuntu-standard \
|
||||||
casper \
|
casper \
|
||||||
lupin-casper \
|
|
||||||
discover \
|
discover \
|
||||||
laptop-detect \
|
laptop-detect \
|
||||||
os-prober \
|
os-prober \
|
||||||
@ -119,6 +118,15 @@ function install_pkg() {
|
|||||||
grub2-common \
|
grub2-common \
|
||||||
locales
|
locales
|
||||||
|
|
||||||
|
case $TARGET_UBUNTU_VERSION in
|
||||||
|
"focal" | "bionic")
|
||||||
|
apt-get install -y lupin-casper
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Package lupin-casper is not needed. Skipping."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# install kernel
|
# install kernel
|
||||||
apt-get install -y --no-install-recommends $TARGET_KERNEL_PACKAGE
|
apt-get install -y --no-install-recommends $TARGET_KERNEL_PACKAGE
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@
|
|||||||
# Usage: Copy this file to config.sh and make changes there. Keep this file (default_config.sh) as-is
|
# Usage: Copy this file to config.sh and make changes there. Keep this file (default_config.sh) as-is
|
||||||
# so that subsequent changes can be easily merged from upstream. Keep all customiations in config.sh
|
# so that subsequent changes can be easily merged from upstream. Keep all customiations in config.sh
|
||||||
|
|
||||||
# The version of Ubuntu to generate. Successfully tested: bionic, cosmic, disco, eoan, focal, groovy
|
# The version of Ubuntu to generate. Successfully tested: bionic, cosmic, disco, eoan, focal, groovy, jammy
|
||||||
# See https://wiki.ubuntu.com/DevelopmentCodeNames for details
|
# See https://wiki.ubuntu.com/DevelopmentCodeNames for details
|
||||||
export TARGET_UBUNTU_VERSION="focal"
|
export TARGET_UBUNTU_VERSION="jammy"
|
||||||
|
|
||||||
# The Ubuntu Mirror URL. It's better to change for faster download.
|
# The Ubuntu Mirror URL. It's better to change for faster download.
|
||||||
# More mirrors see: https://launchpad.net/ubuntu/+archivemirrors
|
# More mirrors see: https://launchpad.net/ubuntu/+archivemirrors
|
||||||
|
Reference in New Issue
Block a user