Skip to content

Commit

Permalink
Disable audio by default, add comments for update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Phiber2000 committed Jul 20, 2016
1 parent f35c55d commit 12cd216
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

In distinction to the base this fork uses the RaspberryPi.org kernel.

As in Raspbian, audio is enabled by default, too. If you don't want that, comment out last line (`dtparam=audio=on`) in _/boot/config.txt_ after installation.

## Intro

The minimal Raspbian unattended netinstaller for Raspberry Pi Model 1B to 3.
Expand Down
7 changes: 7 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,21 +316,27 @@ download_remote_file() {
fi
}

# Download additional files
rm -rf files/
mkdir files
cd files

## Download default config.txt and disable audio
download_remote_file https://downloads.raspberrypi.org/raspbian/ boot.tar.xz xzcat ./config.txt
sed -i "s/^\(dtparam=audio=on\)/#\1/" config.txt
chmod 644 config.txt
cd ..

# Download packages
rm -rf packages/
mkdir packages
cd packages

## Download package list
download_package_lists raspbian $mirror_raspbian
download_package_lists raspberry $mirror_raspberrypi

## Select packages for download
packages_debs=()
packages_sha256=()

Expand All @@ -343,6 +349,7 @@ if ! allfound ; then
exit 1
fi

## Download selected packages
download_packages

cd ..

0 comments on commit 12cd216

Please sign in to comment.