Samuel Dionne-Riel
a37d109515
image-builder: Fixes output hash for default_with_files
...
I... don't know what happened?
2019-08-29 18:17:13 -04:00
Samuel Dionne-Riel
bccbd0aea1
image-builder: Use the mobile-nixos overlay in tests
...
Necessary to get the not-upstreamed-yet software in.
2019-08-29 18:17:13 -04:00
Samuel Dionne-Riel
56d04dcb1e
make_ext4fs: init at unstable-2017-05-21
2019-08-29 18:14:18 -04:00
Samuel Dionne-Riel
746df92fb6
image-builder: tests: de-hardcodes partition IDs
2019-08-29 18:13:05 -04:00
Samuel Dionne-Riel
ba36d675f7
image-builder: Prefer symlinks to copies...
...
Makes the store path cleaner AND allows to call `nix log` on the
symlink to get more details.
2019-08-29 18:07:09 -04:00
Samuel Dionne-Riel
763a912d3c
image-builder: minimumSize is a filesystem specific option
2019-08-28 21:54:12 -04:00
Samuel Dionne-Riel
346efd3b15
image-builder: Test reproducibility of FAT32 file copy
2019-08-28 21:48:46 -04:00
Samuel Dionne-Riel
9b38d6bbf6
image-builder: makeFAT32: make FAT32 image more reproducible
...
The current code in <nixpkgs> is reproducible since the date/time comes
from the store. With my particular tests, the date/time is the current
one since I'm using `>` to create test files.
2019-08-28 21:47:40 -04:00
Samuel Dionne-Riel
391f710a46
image-builder: makeFAT32 actually FAT32
2019-08-28 21:46:35 -04:00
Samuel Dionne-Riel
af17598d8f
makeFAT32: Implements copyPhase
2019-08-28 21:31:45 -04:00
Samuel Dionne-Riel
da8f7db4ec
makeFilesystem: Implements copyPhase
internals
2019-08-28 21:31:33 -04:00
Samuel Dionne-Riel
9750eb940d
image-builder: Adds test for size/populate being left out
2019-08-28 21:06:36 -04:00
Samuel Dionne-Riel
eb8ca1f685
image-builder: handle size and begin work on populate commands
2019-08-28 20:50:28 -04:00
Samuel Dionne-Riel
183c64b638
image-builder: Fix bug in expected failures
2019-08-28 20:49:12 -04:00
Samuel Dionne-Riel
e9a0060987
image-builder: Adds "default" filesystems test
2019-08-28 15:43:28 -04:00
Samuel Dionne-Riel
75bee46289
image-builder: Test output is markdown friendly
...
Additionally, tests order is stable.
Though, output is not stable! As store paths can change.
2019-08-28 15:42:32 -04:00
Samuel Dionne-Riel
18df06ee24
image-builder: nils can now be expected
2019-08-28 15:41:24 -04:00
Samuel Dionne-Riel
372b66da1a
image-builder: Test harness can test specific files
2019-08-28 15:14:38 -04:00
Samuel Dionne-Riel
a2fccaccdb
WIP makePartitions: dumb way to always re-run tests...
...
Can we make this cleaner? --check might not rebuild deep enough.
2019-08-28 15:02:32 -04:00
Samuel Dionne-Riel
1469d71f88
image-builder: Adds a tests harness
2019-08-28 15:02:29 -04:00
Samuel Dionne-Riel
1dc392d317
WIP: adds image-builder tooling
2019-08-27 15:41:09 -04:00
Samuel Dionne-Riel
0c39da0fff
WIP: makeMBR now handles boot flag
2019-08-27 14:25:38 -04:00
Samuel Dionne-Riel
549f0b55eb
WIP adds makeFAT32
2019-08-27 14:14:57 -04:00
Samuel Dionne-Riel
24068f0a22
WIP adds makePartition
2019-08-27 14:14:47 -04:00
Samuel Dionne-Riel
9f773535e6
WIP: Adds makeMBR
2019-08-27 14:14:03 -04:00
Samuel Dionne-Riel
bdc43a37fe
Updates the README
2019-08-26 10:31:43 -04:00
Linus Heckemann
0f7d2cffca
default.nix: convenience improvements
...
Exposes the nixos config attribute, and gets device from an
environment variable if not provided as a function argument.
2019-06-18 17:32:43 +02:00
Samuel Dionne-Riel
ec34370450
motorola-addison: Sync config.aarch64
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
672ae44cb6
motorola-addison: Adds hybrid build...
...
By overriding the system.platform attribute, motorola-addison can be
built for armv7l.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
eefad16870
motorola-addison: use kernel builder
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
ed82df0e29
asus-flo: misc.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
aea6ca0627
asus-z00t: fix build
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
2f9853f496
kernel-builder: Reviews dtb detection
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e88ba541e7
APQ8064–1AA: Use msm-fb-refresher
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
25c4ea6d0b
asus-flo: normalize kernel config
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
7446f778a5
asus-flo: (wip) build bootimg only
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
145c42156c
asus-flo: Reviews kernel build
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
41af579ea5
hard-*: Adds hard-shutdown script
...
On my qualcomm devices, it really shuts down the device even when
plugged into power.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
42b797d9e8
mkbootimg: Updates to latest version
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3552355eb4
asus-z00t: normalizes kernel config
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
e5f3d1ea51
asus-z00t: use of kernel-builder
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
ac2ad419f7
kernel-builder: Adds a WIP Pre-init logo
...
When using CONFIG_LOGO, this "pre-init" logo will be shown in the
center. This abuses the Linux mascot logo feature to help end-users
figure out without console logging whether the kernel is hung really
early, or after the framebuffer kicked-in. The initrd is expected to
replace the logo ASAP.
This is to be changed for something better integrated into the style
guide once written up.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
d737e0fd3e
mobile-nixos.kernel-builder
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3844f4d209
bin/build: uses local nixpkgs checkout
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
848c0188fb
bin/boot-qemu: Adds missing qemu dependency
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
2a4bc7fa6a
Fixes bootimg builds for the existing qcdt devices
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
3ddb53c6fd
bootimg: Makes the build more resilient across devices...
...
This is because sometimes the final kernel image isn't named as
expected...
Also adds an important note about our mkbootimg.
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
361de42767
Removes unused code...
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
0acd0f54e2
Removes unneeded patches
2019-06-09 22:16:43 -04:00
Samuel Dionne-Riel
383f6ff71a
asus-flo: kernel: Fixes build for stage-2 cross-compile.
2019-06-09 22:16:43 -04:00