Commit Graph

238 Commits

Author SHA1 Message Date
Ben Wilson
eb755eb9b0 Output images go into their own folder 2021-09-17 11:51:59 +01:00
Ben Wilson
5b813a21db Fix path 2021-09-17 11:51:36 +01:00
Ben Wilson
eb702ee5cf Stop clearing the terminal 2021-09-17 11:51:13 +01:00
Ben Wilson
5eed328543 Few bash fixes and output improvements 2021-09-17 11:11:35 +01:00
Ben Wilson
ccdb131f82 Restructure variables.sh 2021-09-17 10:49:24 +01:00
Ben Wilson
690eea2acc Restructure build-deps.sh 2021-09-17 10:49:11 +01:00
Ben Wilson
b62e58f960 Various typos and bash fixes 2021-09-17 10:48:26 +01:00
Ben Wilson
846ba51729 Add more log for verbose output 2021-09-17 10:48:05 +01:00
Ben Wilson
7f6bcdde87 Move items out that were not build-scripts 2021-09-17 10:46:07 +01:00
Ben Wilson
de17506ea2 Fix casing with Rpi 2021-09-16 20:48:26 +01:00
neuronaddict
ffc27b5c5b Use a variable to add additionnal packages. 2021-09-15 17:07:18 +00:00
neuronaddict
162226c375 Revert "rpi3-nexmon: add files from includes.chroot"
This reverts commit f6475d11a7a0e448e6b1de4845c8dd11cd7820b5.
2021-09-15 17:07:18 +00:00
neuronaddict
50bcd62d3f packages customisation 2021-09-15 17:07:18 +00:00
neuronaddict
7ddc3c3a50 rpi3-nexmon: add files from includes.chroot 2021-09-15 17:07:18 +00:00
neuronaddict
4869594889 rpi3: variable for nameserver 2021-09-15 17:07:18 +00:00
Steev Klimaszewski
8882ca4007 common: functions: restore_mirror becomes default mirror for now.
For some reason, it's not restoring the mirror properly, so for now, hardcode it to insert the kali default sources.list.
2021-09-09 17:05:15 -05:00
Steev Klimaszewski
79e5355843 common: functions: suite not replace_suite!
If replace_suite isn't actually set up, this causes it to yank out the suite when we restore_mirror
2021-09-08 16:16:19 -05:00
Steev Klimaszewski
db0d48194e common: packages: Add the minimal amount of packages to have a working system 2021-09-07 13:44:46 -05:00
Steev Klimaszewski
c141151257 common: actually do something with the mirror and suite
We have the ability to use a custom mirror and suite, so lets actually do something with them.

This is a bit of a hack really, and doesn't take into account if someone only specifies a custom mirror and not suite, I haven't tested what happens in that case, and it might break, but we will see.
2021-09-06 16:07:32 -05:00
Steev Klimaszewski
f762f37d42 Revert "common: variables: switch to ext4 filesystem by default"
This reverts commit d15d5afc1b.

In testing, arm64 still seems to drop the journal when the partition is resized when using ext4, so for now, go back to ext3 as much as we don't want to.
2021-09-04 12:28:15 -05:00
Steev Klimaszewski
d15d5afc1b common: variables: switch to ext4 filesystem by default 2021-09-02 22:37:45 -05:00
Steev Klimaszewski
d71c9c6404 common/clean_system: keep machine-id around, and make sure /var/cache/runonce exists
Newer systemd requires that machine-id exists, but is empty otherwise it won't boot properly, and without /var/cache/runonce runonce doesn't keep track of what has... run once.
2021-09-02 11:43:38 -05:00
Fran Rodríguez
2164c54c68 remove machine-id 2021-07-05 17:17:53 +00:00
Fran Rodríguez
fa83b3e955 More settings 2021-01-21 16:01:21 +00: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
96ae84f9ac Add arguments in script & more 2020-11-10 19:24:13 +01:00
Son
15790bb6dc add make_image function 2020-10-06 13:15:59 +02:00
Son
25ef88785e Fix limit_cpu 2020-10-04 17:51:37 +02:00
Fran Rodriguez
f3cca20e4c change $cpu_cores to $nproc 2020-10-03 10:32:19 +00:00
Son
d0f15e9c4b make cpu_cores a variable 2020-10-03 11:52:21 +02:00
Son
a1db9b2279 make limit_cpu a variable 2020-10-02 11:08:48 +02:00
Steev Klimaszewski
c912743fd0 common: Fix ups
Passing $extra_args in quotes causes it to try to pass the full extra
args as the hostname, so, don't do quote it (and add a comment so that
others who come after won't do it either).

Swap the logic in the systemd_nspawn loop, so we check for the highest
version first.
2020-09-29 18:25:09 -05:00
Son
419c06b660 more changes 2020-09-29 19:26:23 +02:00
Son
afa7baecb9 systemd-nspawn fix versions 2020-09-21 19:24:04 +02:00
Son
b85f0dfdf3 Add hostname systemd-nspawn 2020-09-20 21:47:31 +02:00
Fran Rodriguez
2cdce879e6 more changes 2020-09-20 15:18:02 +00:00
Son
9827596dec next gen script 2020-09-18 21:00:46 +02:00