Commit Graph

2372 Commits

Author SHA1 Message Date
Martijn Braam 9aa40b7405 Hammerhead module loading functional 2017-06-03 14:27:26 +02:00
Martijn Braam c7b7099697 Hammerhead cleanups 2017-06-03 13:12:21 +02:00
Martijn Braam 47fa40e2be Enable module loading for the hammerhead kernel 2017-06-03 01:01:58 +02:00
Martijn Braam e85ca93920 Rebase hammerhead on latest master 2017-06-03 00:40:24 +02:00
Santosh D e54866bb88 Merge https://github.com/postmarketOS/pmbootstrap into device/maguro 2017-06-02 23:51:49 +02:00
Oliver Smith 42a8990594
Fix #28: fall back to truncate, when fallocate does not work 2017-06-02 23:00:52 +02:00
Oliver Smith 6c110538e5
Add testcase for interactive shell 2017-06-02 22:28:46 +02:00
Oliver Smith 27f300b4d7
Update gcc-armhf, musl-armhf to upstream 2017-06-02 22:02:14 +02:00
Oliver Smith 1cc0704bc0
Revert "Process stdout and stderr from subprocesses separately"
This reverts commit 04aabd7d70.

I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.
2017-06-02 21:36:12 +02:00
Oliver Smith 9d8fd984a0
Revert "Log exit codes to log file"
This reverts commit 2a39d9c091.

I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.
2017-06-02 21:36:03 +02:00
Oliver Smith 1b6f1d86ef
Revert "Removed debugging code"
This reverts commit c15bf48f77.

I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.
2017-06-02 21:35:40 +02:00
Oliver Smith 7d6365b473
Revert "Fixed menuconfig with new async runner"
I did not test this well enough, sorry! This introduced problems
such as interactive shell not working anymore (#40), cryptsetup partion
creating not working anymore etc.

This reverts commit f39c1dae69.
2017-06-02 21:33:29 +02:00
Oliver Smith 06a5c653fe Merge pull request #39 from MartijnBraam/pmb-run
Fixed menuconfig with new async runner
2017-06-02 18:15:17 +00:00
Martijn Braam f39c1dae69 Fixed menuconfig with new async runner 2017-06-02 15:19:08 +02:00
Oliver Smith 13efa270a1 Merge pull request #25 from MartijnBraam/master
Process stdout and stderr from subprocesses separately
2017-06-01 21:04:20 +00:00
Oliver Smith 933a9d4101 Merge pull request #31 from adamvy/master
Update musl-armhf to r10.
2017-06-01 21:02:21 +00:00
Santosh D 1e73ffd5c9 maguro boots and i get telnet! 2017-06-01 21:03:21 +02:00
Adam Van Ymeren 894e8883ad Update musl-armhf to r10. 2017-06-01 14:53:55 -04:00
Santosh D d172dc1a4c Merge https://github.com/postmarketOS/pmbootstrap into device/maguro 2017-06-01 20:10:26 +02:00
Martijn Braam c15bf48f77 Removed debugging code 2017-06-01 19:15:49 +02:00
Oliver Smith 5fab078d5b Merge pull request #23 from MartijnBraam/device-lg-hammerhead
Merging upstream for hammerhead
2017-06-01 15:37:03 +00:00
Martijn Braam 1bfc068d12 Updated deviceinfo 2017-06-01 16:52:35 +02:00
Martijn Braam 4063a6427a Enable devtmpfs 2017-06-01 14:52:24 +02:00
Martijn Braam 2a39d9c091 Log exit codes to log file 2017-06-01 14:07:08 +02:00
Martijn Braam 04aabd7d70 Process stdout and stderr from subprocesses separately 2017-06-01 14:00:18 +02:00
Martijn Braam 16420e4953 Merge branch 'device-lg-hammerhead' of github.com:MartijnBraam/pmbootstrap into device-lg-hammerhead 2017-05-31 22:55:38 +02:00
Martijn Braam ee3112deba Include device tree in nexus 5 kernel 2017-05-31 22:55:26 +02:00
Martijn Braam add2502d6e Added nexus 5 deviceinfo from @dzervas 2017-05-31 22:55:26 +02:00
Martijn Braam a286f8cb74 LG Hammerhead kernel finally compiles 2017-05-31 22:55:26 +02:00
Martijn Braam e634f55a2c Begin of the Nexus 5 hammerhead port 2017-05-31 22:55:26 +02:00
Dimitris Zervas f5d176a1d3 Fix checksum of deviceinfo 2017-05-31 22:55:26 +02:00
Dimitris Zervas 6f2dfd2c60 Added basic hammerhead config (NOT tested) 2017-05-31 22:55:26 +02:00
Oliver Smith 3a539a287b
Minor aports clean up
* Use MIT as license for device-* aports and symlink packages.
  That way we don't have the "FIXME" string in the license field,
  and the MIT is used by Alpine for internal packages, too.
* linux-* aports: properly name the downloaded files: prefix with
  the package name, so it does not just have the git commit as name.
2017-05-31 19:10:29 +02:00
Oliver Smith 57be0dc7cc
New aport: unpackbootimg
Useful to extract flash offsets, as described here:
https://github.com/postmarketOS/pmbootstrap/wiki/How-to-find-device-specific-information
2017-05-31 18:39:42 +02:00
Oliver Smith 9e9c5907ec
Make it easier to find the output of failed commands in the log
...by adding a ^^^^^^^^... line right below the failed command's output.
2017-05-31 18:30:00 +02:00
Oliver Smith 8a40c245da
Fix #19: gcc-armhf didn't compile anymore 2017-05-31 18:18:45 +02:00
Oliver Smith 7cfc680cdf Merge pull request #21 from MartijnBraam/master
WIP: Kernel for Nexus 5 hammerhead
2017-05-31 16:11:36 +00:00
Martijn Braam cb592c608a Include device tree in nexus 5 kernel 2017-05-31 16:41:50 +02:00
Martijn Braam 8a7719eac8 Added nexus 5 deviceinfo from @dzervas 2017-05-31 16:41:31 +02:00
Martijn Braam 66f026444e LG Hammerhead kernel finally compiles 2017-05-31 16:41:31 +02:00
Martijn Braam c6c28cd3fa Begin of the Nexus 5 hammerhead port 2017-05-31 16:41:31 +02:00
Oliver Smith 8d38cd52a5 Merge pull request #16 from dzervas/master
Hammerhead base config
2017-05-30 19:08:32 +00:00
Oliver Smith 95144642a8
README.md Link to the devices wiki page 2017-05-30 20:52:42 +02:00
Oliver Smith a12d345deb
Fix #6: Make testcases run with Python 3.4 (Debian Jessie)
For some reason, it was not possible to create the .tar.gz
archives with Python 3.4, that are used to simulate broken
or malicious apk downloads. I've rewritten the testcase,
so it creates the .tar.gz files inside the native Alpine
Linux chroot.
2017-05-30 20:47:19 +02:00
Dimitris Zervas 6754d6c877
Fix checksum of deviceinfo 2017-05-30 18:47:37 +03:00
Dimitris Zervas 521ee39605
Added basic hammerhead config (NOT tested) 2017-05-30 18:40:44 +03:00
Oliver Smith 3ccaefef67 Merge pull request #13 from mmaret/update_qemu-user-static
Update qemu-user-static to package release 6
2017-05-29 21:09:59 +00:00
Mathieu Maret 424ecf9976 Update qemu-user-static to package release 6
the older one is no more accessible
2017-05-29 22:32:13 +02:00
Oliver Smith 3b5d5d8086
Debian Jessie/Python 3.4 support for the most part (#6)
* automatically find the chroot binary on Debian, even if it is not
  in the user's PATH
* don't use subprocess.run anymore (remove related testcase, that explicitly
  checked for subprocess.run usage, and used recursive globbing, another
  post 3.4 Python feature, for the checks. A similar case can be added in the
  future, but right now it's more important to get Debian 3.4 working and all
  PRs are reviewed anyway.)
* pytest fixtures: don't use the newer "yield" feature, as this is only
  supported in a newer version of pytest, than provided on Debian Jessie

From manually testing, most stuff works in Debian Jessie. However, the
testsuite does not run through - creating an empty .tar.gz with Python
fails for some reason (this is done in test_apk_static.py).
2017-05-29 20:38:11 +02:00
Oliver Smith 3eafc5eb8a
Update *-armhf aports to pass the testcases again
* gcc-armhf: has been updated upstream (minor code change without version bump)
* musl-armhf: use default mirror from config instead of random other https mirror

Rebuilding the packages is not required.
2017-05-29 19:30:33 +02:00