##// END OF EJS Templates
.
Unknown -
r390:78b6fc34812f
parent child
Show More
@@ -0,0 +1,61
1 RPI_MODEL=3
2 RELEASE=buster
3
4 CROSS_COMPILE=aarch64-linux-gnu-
5 QEMU_BINARY=/usr/bin/qemu-aarch64-static
6
7 DEFLOCAL=de_DE.UTF-8
8
9 SET_ARCH=64
10 BUILD_KERNEL=true
11 #KERNEL_BRANCH=rpi-4.18.y
12 KERNEL_CCACHE=true
13
14 HOSTNAME=pihole
15 USER_NAME=pi
16 USER_PASSWORD=password
17 PASSWORD=password
18
19 ENABLE_IPTABLES=true
20 ENABLE_I2C=true
21 ENABLE_SPI=true
22 ENABLE_NONFREE=true
23 ENABLE_WIRELESS=true
24 ENABLE_SOUND=true
25 ENABLE_MINGPU=true
26 ENABLE_DBUS=true
27 ENABLE_SYSVINIT=false
28 ENABLE_IFNAMES=false
29 ENABLE_UBOOT=TRUE
30 ENABLE_SPLITFS=false
31 ENABLE_INITRAMFS=true
32 ENABLE_SYSVINIT=true
33 ENABLE_ROOT=false
34 ENABLE_MINBASE=false
35 ENABLE_XORG=false
36 ENABLE_RSYSLOG=true
37 ENABLE_HWRANDOM=true
38 ENABLE_IPV6=true
39 ENABLE_DHCP=true
40
41 ENABLE_REDUCE=true
42 REDUCE_APT=true
43 REDUCE_DOC=true
44 REDUCE_MAN=true
45 REDUCE_VIM=false
46 REDUCE_BASH=false
47 REDUCE_HWDB=false
48 REDUCE_SSHD=false
49 REDUCE_LOCALE=false
50
51
52 SSH_LIMIT_USERS=true
53
54 KERNELSRC_DIR=/home/helge/linux
55 RPI_FIRMWARE_DIR=/home/helge/firmware
56 UBOOTSRC_DIR=/home/helge/u-boot
57
58 APT_INCLUDES=busybox,kbd,net-tools,wireless-tools,git,crda,wireless-regdb,build-essential
59
60 IMAGE_NAME=RPI-3-64bit
61 CHROOT_SCRIPTS=/home/helge/rpi23-gen-image/chroot_scripts
@@ -237,7 +237,7 if [ "$BUILD_KERNEL" = true ] ; then
237 237 echo "CONFIG_CRYPTO_XTS=y"
238 238 echo "CONFIG_CRYPTO_SHA512=y"
239 239 echo "CONFIG_CRYPTO_MANAGER=y"
240 } >> "${KERNEL_DIR}"/.config
240 } >> "${KERNEL_DIR}/.config"
241 241 fi
242 242 fi
243 243
@@ -397,7 +397,7 else # BUILD_KERNEL=false
397 397 fi
398 398
399 399 # Check if kernel installation was successful
400 KERNEL="$(ls -1 "${R}"/boot/kernel* | sort | tail -n 1)"
400 KERNEL="$(ls -1 "${R}"/boot/firmware/kernel* | sort | tail -n 1)"
401 401 if [ -z "$KERNEL" ] ; then
402 402 echo "error: kernel installation failed! (/boot/kernel* not found)"
403 403 cleanup
@@ -116,7 +116,6 if [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; then
116 116
117 117 # Raspberry-sys-mod package for /dev/serial device needed by bluetooth service
118 118 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
119
120 119 # Bluetooth firmware from arch aur https://aur.archlinux.org/packages/pi-bluetooth/
121 120 wget -O "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" https://aur.archlinux.org/cgit/aur.git/plain/LICENCE.broadcom_bcm43xx?h=pi-bluetooth
122 121 wget -O "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" https://aur.archlinux.org/cgit/aur.git/plain/BCM43430A1.hcd?h=pi-bluetooth
@@ -128,26 +127,29 if [ "$RPI_MODEL" = 3 ] || [ "$RPI_MODEL" = 3P ] ; then
128 127 # Install tools
129 128 install_readonly "${R}/tmp/pi-bluetooth/usr/bin/btuart" "${R}/usr/bin/btuart"
130 129 install_readonly "${R}/tmp/pi-bluetooth/usr/bin/bthelper" "${R}/usr/bin/bthelper"
131
132 130 # Install bluetooth udev rule
133 131 install_readonly "${R}/tmp/pi-bluetooth/lib/udev/rules.d/90-pi-bluetooth.rules" "${LIB_DIR}/udev/rules.d/90-pi-bluetooth.rules"
134 132 # aur
135 133 # install_readonly "${R}/tmp/pi-bluetooth/50-bluetooth-hci-auto-poweron.rules" "${ETC_DIR}/udev/rules.d/50-bluetooth-hci-auto-poweron.rules"
136
137 134 # Install Firmware Flash file and apropiate licence
138 135 mkdir "${ETC_DIR}/firmware/"
139
140 136 # Install firmware and licence
141 137 # install_readonly "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx"
142 138 # install_readonly "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" "${ETC_DIR}/firmware/BCM43430A1.hcd"
143 139 install_readonly "${R}/tmp/pi-bluetooth/LICENCE.broadcom_bcm43xx" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx"
144 140 install_readonly "${R}/tmp/pi-bluetooth/BCM43430A1.hcd" "${ETC_DIR}/firmware/LICENCE.broadcom_bcm43xx"
145
146 141 # Install systemd service for bluetooth
147 142 # install_readonly "${R}/tmp/pi-bluetooth/brcm43438.service" "${ETC_DIR}/systemd/system/brcm43438.service"
143 <<<<<<< HEAD
144 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.bthelper@.service" "${ETC_DIR}/systemd/system/pi-bluetooth.bthelper@.service"
145 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.hciuart.service" "${ETC_DIR}/systemd/system/pi-bluetooth.hciuart.service"
146 # Install udev rule for bluetooth device
147 install_readonly "${R}/tmp/pi-bluetooth/99-com.rules" "${ETC_DIR}/udev/rules.d/99-com.rules"
148 =======
148 149 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.bthelper@.service" "${ETC_DIR}/systemd/system/pi-bluetooth.bthelper@.service"
149 150 install_readonly "${R}/tmp/pi-bluetooth/debian/pi-bluetooth.hciuart.service" "${ETC_DIR}/systemd/system/pi-bluetooth.hciuart.service"
150 151 install_readonly "${R}/tmp/pi-bluetooth/99-com.rules" "${ETC_DIR}/udev/rules.d/99-com.rules"
152 >>>>>>> bc6d966f8243dd759dfc1c0811528e37879ceb1b
151 153
152 154 # Remove temporary directory
153 155 rm -fr "${temp_dir}"
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant