Sebastian-Roth
4662011551
Change mount commands to fix exFAT-FS errors on BTRFS mounts, thanks to @Piotr86PL
2022-10-06 10:16:33 -05:00
Piotr86PL
92250a8794
Change mount commands to fix exFAT-FS errors
2022-10-01 17:47:31 +02:00
Piotr86PL
3ee6684823
Change of two messages as they become too long
2022-10-01 17:16:54 +02:00
Piotr86PL
3eb740380b
Fixing a typo in the calculate_float function and adding a couple of messages to the resizing functions
2022-09-30 21:28:09 +02:00
Sebastian Roth
57f89cad5d
Remove debugging output from new primary disk selection code.
2022-02-13 11:02:19 -06:00
Sebastian Roth
5c3595880c
Add feature to specify disk serial as host primary disk setting to make setups with identical sized NVMe drives work as well. So far we only had the size parameter in the disk layout files. Also re-work that part and cleanup the findHDDInfo function.
2022-02-12 19:25:22 +01:00
Sebastian Roth
9735f18924
Update buildroot to version 2021.02.8 - push gptfdisk to 1.0.8 and remove ntfs-3g patch witch is now included in the official code
2021-12-16 11:30:59 -06:00
Sebastian Roth
9dfde4abe9
Change AWK script to handle awkward name and attrs fields in partition layouts we created ourselves.
2021-10-09 18:03:38 +02:00
Sebastian Roth
1751dd58c1
Remove unnecessary call to getHardDisk
2021-10-06 16:00:29 +02:00
Sebastian Roth
1085652c89
Allow raw/dd image type capture without any partition on disk
2021-07-17 10:13:15 +02:00
Sebastian Roth
713a7b08af
Repair disk enumeration for image type MPA (all disks)
2021-07-17 09:40:00 +02:00
Sebastian Roth
aa85a918cb
Fix issue with partition move feature only working in major debug mode!
2021-07-11 15:27:23 +02:00
Sebastian Roth
517e6992b7
Remove saveSfdiskPartitions call as it was missing a full filename instead of just $imagePath and therefore failed anyway. We don't need to save the sfdisk minimium partition output on every loop as it's done at the end once.
2021-03-07 09:39:58 -06:00
Sebastian Roth
5256dca4ca
Add flock call for exclusive access as it seems to fail otherwise.
2021-03-07 09:36:27 -06:00
Sebastian Roth
4c5cdcffd8
Correct check to actually print output when major debug is set to 1.
2021-03-07 09:33:58 -06:00
Sebastian Roth
5b70187ed8
Add feature to move partitions in GPT layouts forward when shrinking a partition would leave a gap if there is another partition after it. The subsequent partition often prevents from being able to deploy the image to a smaller size disk and so we try to get rid of that gap which is only possible in UEFI setups (GPT layout) where boot loaders don't reference to a sector on disk. With that we need to fix a calculation in the AWK script to use sector count and not devide by sector size.
2021-03-07 09:18:58 -06:00
Sebastian Roth
dd0b8c98d9
Update to Buildroot version 2020.02.11 and add gptfdisk package hash to fix compile error
2021-02-28 14:21:54 -06:00
Tom Elliott
84d46d7e7d
Add potential capability for BTRFS resizing
2021-02-11 06:10:24 -06:00
Tom Elliott
11e05fab0a
Add sysserial to the autoreg item to allow dynamic name setting
2021-02-02 06:17:22 -06:00
Sebastian Roth
8d310f51d7
Add patch/fix to partclone 0.3.13 to be able to use option ignore_crc with image files created with partclone 0.2.89. For more information see Thomas-Tsai/partclone#121
2020-11-08 08:56:29 -06:00
Sebastian Roth
aa13557801
Add feature to specify host primary disk via size instead of device name
2020-11-04 16:54:26 +01:00
Sebastian Roth
f1462fe96f
Move initversion to funcs.sh to be useful in debug mode as well
2020-10-27 17:02:36 +01:00
Sebastian Roth
73c73bb58b
Fix minor typo in network script
2020-10-08 17:19:34 +02:00
Sebastian Roth
d379d83a37
Update headers of partclone patch files
2020-09-27 16:42:22 -05:00
Sebastian Roth
c8127784c7
Save a lot of dd calls within function isBitlockedPartition by using those only once every capture
2020-09-25 19:12:34 +02:00
Sebastian Roth
5a586f8962
Add flock call to parted because it triggers a reload of the partions in the kernel and following commands might be too early and don't find the device nodes in /dev while udev and kernel still try to bring those back
2020-09-25 16:52:18 +02:00
Sebastian Roth
041c5abdc6
Update Buildroot to version 2020.02.6 and remove our custom Zstd config as they officially have the latest Zstd 1.4.5 included
2020-09-08 01:00:27 -05:00
Tom Elliott
c034cd91aa
Add the sector-size if it exists
2020-06-29 10:31:16 -05:00
Tom Elliott
79a09c92ca
Sometimes the 5th field IS the attrs field. if the 5th is attrs field, why are we making it name="attrs=....." as this means it cannot recreate the layout properly.
2020-06-29 10:01:59 -05:00
Sebastian Roth
324458b952
Correct partclone URL as 0.3.13 moved from unstable to testing
2020-05-16 23:41:07 -05:00
Sebastian Roth
c567ed771e
Update buildroot to version 2020.02.2
2020-05-16 03:01:27 -05:00
Sebastian Roth
ae2143bb60
Add patch to fix sfdisk error when reading new partition layout from d1.partions file
2020-05-02 15:07:23 -05:00
Sebastian Roth
ec6bdc59eb
Bump gptfdisk to version 1.0.4
2020-04-26 07:08:54 -05:00
Sebastian Roth
8979ef112b
Switch to using shred instead of dd for normal wipe to make it faster
2020-03-11 00:25:33 +01:00
Sebastian Roth
993cc1f5b9
Update to partclone 0.3.13 to fix sleep issues we had with 0.3.12
2020-02-19 07:25:14 -06:00
Tom Elliott
8550852035
More checking to ensure awk regex is quoted
2020-02-03 07:20:12 -06:00
Tom Elliott
41e8e5d9aa
Fix awk on 1646
2020-02-03 07:08:54 -06:00
Tom Elliott
61699003d0
Fix line 562 error
2020-02-03 07:07:51 -06:00
Sebastian Roth
dcc0fb9b9e
Go back to use original buildroot version of mdadm as our fix on adding mdmon hsa been added in buildroot commit 45498bbc
2020-02-01 17:41:04 +01:00
Sebastian Roth
b908a3b810
Update file according to official buildroot commit 7a03caaa to remove Blackfin code
2020-02-01 17:27:44 +01:00
Sebastian Roth
161f7ab3a3
Revert gptfdisk package back to 1.0.3 as used by offcial 2019.02.9
2020-02-01 17:22:55 +01:00
Sebastian Roth
2898c36923
Update gptfdisk package version to 1.0.4
2020-02-01 05:27:40 -06:00
Sebastian Roth
22e7d1bef4
Update mdadm tools to 4.1
2020-02-01 05:26:55 -06:00
Sebastian Roth
351b625c28
Update Zstd to 1.4.4 for performance improvements
2020-02-01 05:22:17 -06:00
Sebastian Roth
8b60ec0491
Add new patch to fix partclone.imager issue where it doesn't read size information from the disk
2020-01-20 19:19:40 +01:00
Quazz
5f0e7b5f7d
Update funcs.sh
2020-01-15 16:11:55 +01:00
Quazz
80e959a458
Update partition-funcs.sh
2020-01-15 16:03:09 +01:00
Quazz
6f2f46af3b
Remove unncessary escaping in Awk
...
Since it will be incompatible with newer Awk versions which will inevitably be incorperated sooner or later through buildroot updates.
Characters within square brackets [] do not require escaping, as per regex specifications.
2020-01-15 15:55:16 +01:00
Tom Elliott
0a893d39b0
Re-add -c argument
2020-01-14 13:26:49 -06:00
Tom Elliott
622ad0a73f
Fix the cmd output information
2020-01-13 10:23:34 -06:00