Unfuck this nightmare (no longer adds a user, for... security reasons)
This commit is contained in:
parent
6a4380e432
commit
1bd1513a92
18
makeiso.sh
18
makeiso.sh
@ -1,22 +1,18 @@
|
|||||||
echo Installing Dependancies
|
echo Installing Dependancies
|
||||||
|
|
||||||
sudo pacman -Sy --noconfirm python3 python-pytest pkgconf git sequoia-sq archiso micro grub base-devel chpasswd
|
sudo pacman -Sy --noconfirm --needed python3 python-pytest pkgconf git sequoia-sq archiso micro grub base-devel memtest86+
|
||||||
|
|
||||||
echo Adding Keys
|
echo Adding Keys
|
||||||
|
|
||||||
|
rm -rf archlinux32-keyring
|
||||||
git clone https://aur.archlinux.org/archlinux32-keyring.git
|
git clone https://aur.archlinux.org/archlinux32-keyring.git
|
||||||
cd archlinux32-keyring
|
cd archlinux32-keyring
|
||||||
sudo useradd build -G wheel,storage
|
makepkg -si --skippgpcheck --noconfirm
|
||||||
echo build:build | chpasswd
|
|
||||||
echo Build User Passwd is: build
|
|
||||||
sudo chown -R build ./
|
|
||||||
echo build
|
|
||||||
su build -c 'makepkg -so --skippgpcheck --noconfirm'
|
|
||||||
cd ..
|
cd ..
|
||||||
sudo mv ./archlinux32-keyring/src/archlinux32-keyring-v20240131/archlinux32.pgp ./archlinux32-keyring/src/archlinux32-keyring-v20240131/pubring.pgp
|
#sudo mv ./archlinux32-keyring/src/archlinux32-keyring-*/archlinux32.pgp ./archlinux32-keyring/pubring.pgp
|
||||||
sudo pacman-key --import ./archlinux32-keyring/src/archlinux32-keyring-v20240131/pubring.pgp
|
#sudo pacman-key --import ./archlinux32-keyring/pubring.pgp
|
||||||
sudo pacman-key --init
|
#sudo pacman-key --init
|
||||||
sudo pacman-key --populate
|
#sudo pacman-key --populate
|
||||||
|
|
||||||
|
|
||||||
echo Making ISO...
|
echo Making ISO...
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
base
|
base
|
||||||
linux
|
linux-lts
|
||||||
mkinitcpio
|
mkinitcpio
|
||||||
mkinitcpio-archiso
|
mkinitcpio-archiso
|
||||||
syslinux
|
syslinux
|
||||||
nano
|
vim
|
||||||
arch-install-scripts
|
arch-install-scripts
|
||||||
pcmciautils
|
pcmciautils
|
||||||
net-tools
|
net-tools
|
||||||
|
|||||||
@ -30,12 +30,13 @@ Architecture = i686
|
|||||||
|
|
||||||
# Misc options
|
# Misc options
|
||||||
#UseSyslog
|
#UseSyslog
|
||||||
#Color
|
Color
|
||||||
#NoProgressBar
|
#NoProgressBar
|
||||||
# We cannot check disk space from within a chroot environment
|
# We cannot check disk space from within a chroot environment
|
||||||
#CheckSpace
|
#CheckSpace
|
||||||
#VerbosePkgLists
|
#VerbosePkgLists
|
||||||
ParallelDownloads = 5
|
ParallelDownloads = 1
|
||||||
|
ILoveCandy
|
||||||
|
|
||||||
# By default, pacman accepts packages signed by keys that its local keyring
|
# By default, pacman accepts packages signed by keys that its local keyring
|
||||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||||
@ -70,29 +71,8 @@ LocalFileSigLevel = Optional
|
|||||||
# repo name header and Include lines. You can add preferred servers immediately
|
# repo name header and Include lines. You can add preferred servers immediately
|
||||||
# after the header, and they will be used before the default mirrors.
|
# after the header, and they will be used before the default mirrors.
|
||||||
|
|
||||||
#[core-testing]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
Server = http://mirror.clarkson.edu/archlinux32/$arch/$repo
|
Server = http://mirror.clarkson.edu/archlinux32/$arch/$repo
|
||||||
|
|
||||||
#[extra-testing]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
Server = http://mirror.clarkson.edu/archlinux32/$arch/$repo
|
Server = http://mirror.clarkson.edu/archlinux32/$arch/$repo
|
||||||
|
|
||||||
# If you want to run 32 bit applications on your x86_64 system,
|
|
||||||
# enable the multilib repositories as required here.
|
|
||||||
|
|
||||||
#[multilib-testing]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
#[multilib]
|
|
||||||
#Include = /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
# An example of a custom package repository. See the pacman manpage for
|
|
||||||
# tips on creating your own repositories.
|
|
||||||
#[custom]
|
|
||||||
#SigLevel = Optional TrustAll
|
|
||||||
#Server = file:///home/custompkgs
|
|
||||||
|
|||||||
@ -1,16 +1,14 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
|
|
||||||
iso_name="archlinux-baseline"
|
iso_name="archlinux32-mini"
|
||||||
iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
iso_label="ARCH_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
||||||
iso_publisher="Arch Linux <https://archlinux.org>"
|
iso_publisher="Arch Linux <https://archlinux.org>"
|
||||||
iso_application="Arch Linux baseline"
|
iso_application="Arch Linux baseline"
|
||||||
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
||||||
install_dir="arch"
|
install_dir="arch"
|
||||||
buildmodes=('iso')
|
buildmodes=('iso')
|
||||||
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
|
bootmodes=('bios.syslinux.mbr')
|
||||||
'uefi-ia32.grub.esp'
|
|
||||||
'uefi-ia32.grub.eltorito')
|
|
||||||
arch="i686"
|
arch="i686"
|
||||||
pacman_conf="pacman.conf"
|
pacman_conf="pacman.conf"
|
||||||
airootfs_image_type="squashfs"
|
airootfs_image_type="squashfs"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user