Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/validate-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
DOCKER_BUILDKIT: 1
PACMAN_CACHE: /tmp/pacman-cache
WORKSPACE: /workdir
BUILD_DIR: /workdir/workdir
BUILD_DIR: /workdir/work
OUTPUT_DIR: /workdir/out

jobs:
Expand Down
6 changes: 4 additions & 2 deletions pacman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ Architecture = auto
#UseSyslog
# Color output enabled
Color
ILoveCandy # enable candy output
ParallelDownloads = 64 # increased for build speed
# Enable candy output for better visual feedback
ILoveCandy
# Increased parallel downloads for build speed
ParallelDownloads = 64
# We cannot check disk space from within a chroot environment
#CheckSpace # enable disk space checks
#VerbosePkgLists
Expand Down
21 changes: 6 additions & 15 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ build_iso() {
# Create a custom hook to disable beeps in various config files
if [ ! -f "airootfs/usr/share/libalpm/hooks/99-no-beep.hook" ]; then
log "Creating custom hook to disable beeps..."
if ! mkdir -p "airootfs/usr/share/libalpm/hooks/" 2>/dev/null; then
warn "Failed to create hooks directory, continuing..."
else
cat > "airootfs/usr/share/libalpm/hooks/99-no-beep.hook" << 'EOF'
if ! mkdir -p "airootfs/usr/share/libalpm/hooks/" 2>/dev/null; then
warn "Failed to create hooks directory, continuing..."
else
cat > "airootfs/usr/share/libalpm/hooks/99-no-beep.hook" << 'EOF'
[Trigger]
Expand All @@ -76,12 +74,8 @@ EOF
# Add settings to disable terminal bell in bash
if [ ! -f "airootfs/etc/skel/.bashrc" ]; then
log "Adding bash configuration to disable terminal bell..."
if ! mkdir -p "airootfs/etc/skel/" 2>/dev/null; then
warn "Failed to create skel directory, continuing..."
else
echo "# Disable terminal bell" > "airootfs/etc/skel/.bashrc"
echo "bind 'set bell-style none'" >> "airootfs/etc/skel/.bashrc"
fi
if ! mkdir -p "airootfs/etc/skel/" 2>/dev/null; then
warn "Failed to create skel directory, continuing..."
else
echo "# Disable terminal bell" > "airootfs/etc/skel/.bashrc"
echo "bind 'set bell-style none'" >> "airootfs/etc/skel/.bashrc"
Expand All @@ -91,11 +85,8 @@ fi
# Set bell-style none in global inputrc
if [ ! -f "airootfs/etc/inputrc" ]; then
log "Setting bell-style none in global inputrc..."
if ! mkdir -p "airootfs/etc" 2>/dev/null; then
warn "Failed to create etc directory, continuing..."
else
echo "set bell-style none" > "airootfs/etc/inputrc"
fi
if ! mkdir -p "airootfs/etc" 2>/dev/null; then
warn "Failed to create etc directory, continuing..."
else
echo "set bell-style none" > "airootfs/etc/inputrc"
fi
Expand Down
Loading