Commit Graph

82 Commits

Author SHA1 Message Date
Steev Klimaszewski
6790a16667 pbp: Add 43455 firmware for newer Pinebook Pro models
Thanks to Jonathan Cox for reporting.  Closes #286
2022-08-18 21:26:41 -05:00
Steev Klimaszewski
ba230fc82a pinebook: Update wireless driver bits
Since we're using my fork of the wireless driver...
stop dealing with the nested quoting as I've committed the dkms.conf file to it.
2022-05-09 16:20:50 -05:00
Steev Klimaszewski
8e2d955421 rzero: Update firmware
This should fix up the wifi and bluetooth
2022-04-30 14:57:09 -05:00
Steev Klimaszewski
cff1badee0 radxa-zero: Add support for radxa zero emmc and sdcard 2022-04-28 00:56:54 +00:00
syndrowm
3bcb3f6fa7 support both psk cases 2022-04-14 16:06:34 +00:00
syndrowm
68bd8fb200 Remove comment character in awk command 2022-04-14 16:06:34 +00:00
Steev Klimaszewski
67b89d642f remove the service that is now in kali-defaults 2022-03-14 08:29:51 -05:00
D
b57596fc8c Updated the ventana bootscript to relfect the ext3 to ext4 on all device 2022-01-31 04:03:31 +00:00
Steev Klimaszewski
be3483d7dd runonce: add-user: copy in /etc/skel contents 2021-12-01 10:12:09 -06:00
Steev Klimaszewski
a4a86f4cb0 zero-2-w: Add new device script and firmwares
Currently the kernel packages don't include the dtbs and the firmware package doesn't have the firmwares, so add them in for now as a workaround.  Also point to re4son's next repo for the latest kernel that has the changes needed for the dtbs to work.

Note: the current boot firmware expects the dtb name to be bcm2710-rpi-zero-2 which is why we include both, so that when the new bootloader shows up, it will seamlessly transition to the correct one.
2021-11-11 14:13:27 -06:00
Steev Klimaszewski
4bdcb65601 regenerate ssh host keys: remove un-needed entries
These don't belong there, and aren't needed.  It was an attempt to make sure it was run before ssh starts, but making it part of when put in the correct spot in the service file seems to cause ssh to just never actually start, so lets remove it.  We can revisit if it ever causes issues.
2021-09-26 07:54:42 -05:00
Steev Klimaszewski
2683427392 runonce: adduser: default to bash on armv6
We now default to bash on armel devices.  Typing with zsh as the default becomes an exercise in frustration due to the processing of zsh behind the scenes to guess what you may want to do.

Users can still set it to zsh manually.
2021-09-25 15:25:55 -05:00
Steev Klimaszewski
950574c909 pinebook: use a conf file outside of the quoting mess
Because we need to quote the make command inside the dkms.conf file, it turns into a huge mess, so lets just use a separate file and copy it in.  This does the correct thing when I tested it bumping from 5.10 to 5.14 so that's good enough for me.
2021-09-23 21:14:15 -05:00
Steev Klimaszewski
4fb9678a3d *: Enable ssh, ext4 filesystem default now. Use growpart for growing the partition.
We use growpart from the cloud-guest-utils package (actually from Canonical's repo on github), and this allows us to resize all of the filesystem without random dropping journals.
Tested on rpi0w, rpi4 (32bit and 64bit), pinebook, pinebook-pro, nanopi neoplus2, rpi2, odroid-c2.  So I am thinking it's in a spot to make it available everywhere.

Also, somehow enabling ssh was dropped, likely due to misreading the purpose of "enable-ssh" service, which is a feature parity thing from raspbian where you could drop a "ssh" or "ssh.txt" file on /boot and it would enable ssh.  We decided long ago however, to always eable ssh on the arm images.
2021-09-23 12:23:25 -05:00
Steev Klimaszewski
d602fd4f47 Revert "runonce: reinstall: only run the commands if they exist"
This reverts commit bdaf6e6c47.

This doesn't seem to be working correctly, so let's revert it for now and fix it a different way
2021-09-21 22:50:02 -05:00
Steev Klimaszewski
890a678e48 runonce: we don't need/want to run those at first boot.
instead, people should enable the services they want/need on image build, otherwise it may modify things under the user (e.g. pitail image where we disable networkmanager, only to end up with it enabled by this script)
2021-09-21 16:19:16 -05:00
Steev Klimaszewski
696777bff3 runonce: services: pass --now to start the services
running systemctl enable doesn't start the services, so we pass --now to both enable and start the services.
also, bluetooth and networkmanager aren't necessarily always installed, so don't make them fatal
2021-09-20 15:25:59 -05:00
Steev Klimaszewski
bdaf6e6c47 runonce: reinstall: only run the commands if they exist 2021-09-20 07:35:39 -05:00
Steev Klimaszewski
f198c4af51 runonce: services: Don't error if bluetooth doesn't exist.
If bluetooth isn't installed, this will cause the script to error, but it shouldn't be an error if it doesn't exist.
2021-09-20 07:34:24 -05:00
Ben Wilson
34c05d52c4 Merge branch 'master' into consistency
# Conflicts:
#	banana-pi.sh
#	banana-pro.sh
#	common.d/clean_system.sh
#	common.d/packages.sh
#	common.d/proxy_apt.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	odroid-c2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w.sh
#	rpi1.sh
#	usb-armory-mkii.sh
2021-09-19 20:02:43 +01:00
Fran
45dd4a1468 Fix location cache directory 2021-09-19 08:44:02 +02:00
Fran
b6e40bffc8 Tunning locales 2021-09-18 16:47:57 +00:00
Fran
73ff96c74e Service create a require directory 2021-09-18 16:47:57 +00:00
Ben Wilson
228ccb1ce5 Merge branch 'master' into consistency
# Conflicts:
#	.gitignore
#	banana-pi.sh
#	banana-pro.sh
#	beaglebone-black.sh
#	chromebook-exynos.sh
#	chromebook-nyan.sh
#	common.d/builder.txt.example
#	common.d/compress_img.sh
#	common.d/variables.sh
#	cubieboard2.sh
#	cubietruck.sh
#	cubox-i4pro.sh
#	cubox.sh
#	gateworks-newport.sh
#	gateworks-ventana.sh
#	mini-x.sh
#	nanopc-t.sh
#	nanopi-neo-plus2-minimal.sh
#	nanopi-neo-plus2.sh
#	nanopi2.sh
#	odroid-c.sh
#	odroid-c2.sh
#	odroid-u2.sh
#	odroid-xu3.sh
#	pinebook-pro.sh
#	pinebook.sh
#	riotboard.sh
#	rpi-64bit-minimal.sh
#	rpi-64bit.sh
#	rpi.sh
#	rpi0w-minimal.sh
#	rpi0w-p4wnp1-aloa.sh
#	rpi0w-pitail.sh
#	rpi0w.sh
#	rpi1.sh
#	trimslice.sh
#	usb-armory-mki.sh
#	usb-armory-mkii.sh
#	utilite-pro.sh
2021-09-18 05:55:38 +01:00
D
9f9cbb6098 Fixed ext3load to newer ext4load. 2021-09-17 15:26:11 +00:00
Ben Wilson
ddde10ecee Add leading 0 on chmod 2021-09-17 10:42:05 +01:00
Steev Klimaszewski
6943953120 bsp: scripts: cus: exit 0 if the file doesn't exist 2021-09-09 11:37:21 -05:00
Steev Klimaszewski
05eecc3835 bsp: services: cus: Use network.target so we start properly
Without this, copy-user-wpasupplicant will fail to start because NetworkManager isn't running yet.
2021-09-08 15:07:27 -05:00
Steev Klimaszewski
b2a6a01727 pbook-resize: don't -s
For some reason, parted's script flag breaks actually resizing it?  So lets remove it.
2021-09-07 20:59:52 -05:00
Steev Klimaszewski
3743f83f9d pinebook: Resize on the pinebook seems to be a special snowflake.
For some reason, it always claims the rootfs is in use (duh) and parted refuses to resize the filesystem, so work around it via echoing yes to the prompt.
2021-09-07 19:19:38 -05:00
Steev Klimaszewski
5d8c332668 bsp: resizerootfs: change to using parted to resize
For some reason, it was failing previously, so we switch to parted, and base off the way that the debian image-specs uses to resize the rootfs, this seems to work in my testing
2021-09-02 22:36:36 -05:00
Steev Klimaszewski
c0301c341c bsp: add directory to u-m-d call so it actually runs 2021-09-02 22:36:03 -05:00
Steev Klimaszewski
78064d2323 bsp: add-user: Don't error if the group exists, change default shell to zsh 2021-08-31 14:49:28 -05:00
Fran Rodríguez
ecd2ccf855 Get the device partition number 2021-08-20 23:23:47 -05:00
DM
2e6cf2ba73 Newport Build Completed and Ventana Build Updated 2021-08-20 23:16:40 -05:00
Son
cb4901089b Enable net.ipv4.ping_group_range 2021-01-30 16:31:15 +01:00
Fran Rodríguez
b50e80f8c4 Test 1 runonce 2021-01-20 17:53:18 +00:00
Son
bfad513174 Remove shellchecks 2021-01-19 18:16:33 +01:00
Son
f81a2f2909 Create or modify groups 2020-11-25 13:06:10 +00:00
Son
96ae84f9ac Add arguments in script & more 2020-11-10 19:24:13 +01:00
Son
d2d5e82dd8 Runonce updates 2020-10-15 17:29:42 +02:00
Steev Klimaszewski
cd02236125 runonce.d: Mark scripts as executable 2020-09-22 12:03:40 -05:00
Son
9827596dec next gen script 2020-09-18 21:00:46 +02:00
Fran Rodriguez
dacdb2eba5 Fix locale 2020-09-16 12:45:15 +00:00
Son
7f121c4e3b Check that the application groups exist 2020-08-23 19:08:31 +02:00
Fran Rodriguez
91b9dc5b58 Runonce update scripts 2020-08-22 19:24:11 +00:00
Steev Klimaszewski
1d653e7b6e bsp: runonce: rename es2fsresize to resize-rootfs 2020-08-21 22:59:14 -05:00
Steev Klimaszewski
af076a7d94 bsp: also regenerate default-snakeoil cert 2020-08-21 16:20:46 -05:00
Steev Klimaszewski
6bd710402e bsp: runonce: Locale is its own script 2020-08-21 15:01:00 -05:00
Steev Klimaszewski
cf906b579e bsp: runonce: mv rootfs-cleanups to add-user
This makes more sense as it describes what it's doing better.
2020-08-21 14:57:43 -05:00