@@ -19,7 +19,7 if [ "$ENABLE_MINBASE" = true ] ; then | |||
|
19 | 19 | fi |
|
20 | 20 | |
|
21 | 21 | # Base debootstrap (unpack only) |
|
22 |
http_proxy=${APT_PROXY} debootstrap |
|
|
22 | http_proxy=${APT_PROXY} debootstrap ${APT_EXCLUDES} --arch="${RELEASE_ARCH}" --foreign ${VARIANT} --components="${COMPONENTS}" --include="${APT_INCLUDES}" "${RELEASE}" "${R}" "http://${APT_SERVER}" | |
|
23 | 23 | |
|
24 | 24 | # Copy qemu emulator binary to chroot |
|
25 | 25 | install -m 755 -o root -g root "${QEMU_BINARY}" "${R}${QEMU_BINARY}" |
@@ -138,19 +138,25 if [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] || [ "$RPI_MODEL" = 3P ]; then | |||
|
138 | 138 | #aur https://aur.archlinux.org/packages/pi-bluetooth/ |
|
139 | 139 | #install_readonly "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx" |
|
140 | 140 | #install_readonly "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" "${ETC_DIR}/firmware/BCM43430A1.hcd" |
|
141 | ||
|
142 | 141 | wget -O "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" https://aur.archlinux.org/cgit/aur.git/plain/LICENCE.broadcom_bcm43xx?h=pi-bluetooth |
|
143 | 142 | wget -O "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" https://aur.archlinux.org/cgit/aur.git/plain/BCM43430A1.hcd?h=pi-bluetooth |
|
143 | install_readonly "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx" | |
|
144 | install_readonly "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx" | |
|
144 | 145 | |
|
145 | 146 | # Install systemd service for bluetooth |
|
146 | 147 | #install_readonly "${R}/tmp/pi-bluetooth/brcm43438.service" "${ETC_DIR}/systemd/system/brcm43438.service" |
|
148 | install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.bthelper@.service" "${ETC_DIR}/systemd/system/pi-bluetooth.bthelper@.service" | |
|
149 | install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.hciuart.service" "${ETC_DIR}/systemd/system/pi-bluetooth.hciuart.service" | |
|
150 | ||
|
151 | # Raspberry-sys-mod package | |
|
152 | wget -O "${R}/tmp/pi-bluetooth/99-com.rules" https://raw.githubusercontent.com/RPi-Distro/raspberrypi-sys-mods/master/etc.armhf/udev/rules.d/99-com.rules | |
|
153 | install_readonly "${R}/tmp/pi-bluetooth/99-com.rules" "${ETC_DIR}/udev/rules.d/99-com.rules" | |
|
147 | 154 |
|
|
148 | 155 |
|
|
149 |
|
|
|
156 | rm -fr "${temp_dir}" | |
|
150 | 157 |
|
|
151 | 158 | # Get /dev/serial back for compability |
|
152 | # Raspberry-sys-mod package | |
|
153 | wget -O "${ETC_DIR}/udev/rules.d/99-com.rules" https://raw.githubusercontent.com/RPi-Distro/raspberrypi-sys-mods/master/etc.armhf/udev/rules.d/99-com.rules | |
|
159 | ||
|
154 | 160 | |
|
155 | 161 | fi |
|
156 | 162 | fi |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant