Commit Graph

1264 Commits

Author SHA1 Message Date
Oliver Smith 0adc6a1f4b Testsuite: fail after first error
This makes debugging much easier, because the relevant log messages
before the crash can always be found at the bottom of the log files,
and not somewhere in the middle.
2018-07-15 20:37:02 +00:00
Oliver Smith f121dce59b pmb: bump version to 0.8.0 2018-07-14 01:16:04 +00:00
Oliver Smith 8268dc0e3d pmbootstrap: kill process if silent for 5 minutes (rewrite logging) 2018-07-14 01:13:28 +00:00
Oliver Smith a9f149153a Allow dot and plus sign again in the regex 2018-07-13 05:28:17 +00:00
Oliver Smith 2c5cbbb954 Don't allow trailing comma in additional packages
Prior to this commit, it was possible to type in packages with a
trailing comma in `pmbootstrap init` when asked for extra packages.

This leads to problems during `pmbootstrap install`, so now we disallow
it. Fixes #1540.
2018-07-13 05:28:17 +00:00
Oliver Smith 796668d7df More obvious test failure messages for QEMU test
If the test case couldn't connect to the VM with SSH, it used to fail
with a Python error of accessing the 'missing' variable without having
it defined.

With this commit, it prints out 'Could not connect to the VM via SSH'
instead.
2018-07-11 19:37:06 +00:00
Oliver Smith bbae995be8 APKBUILD parser: replace $pkgname in *depends*
Fixes #1613
2018-07-11 19:24:40 +00:00
Oliver Smith b56e5cf281 pmb qemu: Properly escape kernel commandline 2018-07-11 19:09:34 +00:00
Oliver Smith 74e103d1f2 static code analysis: make it pass flake8 3.5.0
This commit adds two new ignores to the flake8 call:
* W504 line break after binary operator
* W605 invalid escape sequence 'x'

Without these, newer flake8 versions, such as the one shipped by Arch
Linux, don't run through on the code base (which leads to not running
it at all locally, only in CI).

Additional changes:
* Don't give the exception instance of subprocess.CalledProcessError a
  name, so it does not trigger F841
* Dont' advise to run "autopep8" anymore, because that will likely
  touch unrelated code.

For reference, here is the list of error codes:
https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
2018-07-11 18:58:29 +00:00
Oliver Smith 3631d314d4 pmb: display note when chroot is still active
It is unexpected for quite a lot of people, that the chroot folders are
still mounted when a pmbootstrap command has finished. With this commit,
it will let the user know explicitly:

> NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)

Close #1524
2018-07-11 18:39:32 +00:00
Oliver Smith 2b062a1272 pmb: use UTF-8 in pmb.helpers.file.replace()
Without this fix, `pmbootstrap pkgrel_bump` does not work with some
APKBUILDs with special characters.
2018-07-11 18:26:01 +00:00
Oliver Smith 614e7f3511 Merge branch 'master' into 'master'
Added device: Samsung Galaxy Trend Plus (s7580)

See merge request postmarketOS/pmbootstrap!1607
2018-07-09 21:54:15 +00:00
Oliver Smith 39e5060c62
Remove .github folder
Issue and merge request templates have been adjusted in the gitlab
settings to contain roughly the same information.
2018-07-09 22:15:08 +02:00
Oliver Smith 0f151015fa Merge branch 'patch-1' into 'master'
Update README.md after move to gitlab

See merge request postmarketOS/pmbootstrap!1624
2018-07-08 23:21:30 +00:00
Oliver Smith 4c8d4815af README.md: slightly adjust URLs [skip ci]
* add .git at the end of the clone URL
* add `osk-sdl` in file name
2018-07-08 23:20:13 +00:00
Oliver Smith 086774276f Merge branch 'feature/ci_more_staging' into 'master'
gitlab ci: restructure 'tests' stage

Closes #1610

See merge request postmarketOS/pmbootstrap!1622
2018-07-08 23:06:00 +00:00
clayton craft 023fbf53dc gitlab ci: restructure 'tests' stage 2018-07-08 23:06:00 +00:00
Simon Schmeisser cd90f35527 Update Package section of README.md as well 2018-07-08 22:32:38 +00:00
Simon Schmeisser a95ae90c84 Update README.md after move to gitlab
still missing replacement link for "pmbootstrap newapkbuild "https://github.com/postmarketOS/osk-sdl/archive/0.51.tar.gz" "
2018-07-08 22:22:59 +00:00
Oliver Smith b14862f143 Merge branch 'fix/1608-bootimg-analyze-force' into 'master'
pmb: add -f (force) parameter to bootimg_analyze

We are analyzing the `boot.img` with `file` before we send it to
`unpackbootimg`. File does not recognize all kinds of `boot.img` files,
which `unpackbootimg` can extract, so we need a way to skip this check.

Details:
* Add `-f` parameter, continues extraction with a warning if the file
  seems to be invalid
* Tell the user that `-f` can be used if the `boot.img` is invalid and
  it's not specified
* Consistent spelling of `boot.img` instead of `bootimg` in messages

Fixes #1608

See merge request postmarketOS/pmbootstrap!1619
2018-07-08 21:57:57 +00:00
Oliver Smith b8637a024a
add --force as well 2018-07-08 23:49:03 +02:00
Oliver Smith f9debc41a5 Merge branch 'qemu-mouse-fixes' into 'master'
Enable hypervisor guest and vmmouse configs for linux-postmarketos x86_64

See merge request postmarketOS/pmbootstrap!1615
2018-07-08 21:39:20 +00:00
Oliver Smith 75d0683e10 main/linux-postmarketos-stable: pkgrel=1 [skip ci] 2018-07-08 21:31:30 +00:00
Oliver Smith bbf39c0642 main/linux-postmarketos-mainline: pkgrel=1 [skip ci] 2018-07-08 21:30:38 +00:00
Oliver Smith b19cb9e6ba Merge branch 'sony-yuga-fixes' into 'master'
[sony-yuga] Removed fb-workaround in favor of msm-fb-refresher

See merge request postmarketOS/pmbootstrap!1617
2018-07-08 20:53:07 +00:00
Oliver Smith c88bd285bd
Move aports forked from Alpine to aports/temp
Also remove the py-requests, as the version has been updated in Alpine.

Close: #1603
2018-07-06 22:34:38 +02:00
Oliver Smith d4f4ea8488
pmb: add -f (force) parameter to bootimg_analyze
We are analyzing the `boot.img` with `file` before we send it to
`unpackbootimg`. File does not recognize all kinds of `boot.img` files,
which `unpackbootimg` can extract, so we need a way to skip this check.

Details:
* Add `-f` parameter, continues extraction with a warning if the file
  seems to be invalid
* Tell the user that `-f` can be used if the `boot.img` is invalid and
  it's not specified
* Consistent spelling of `boot.img` instead of `bootimg` in messages

Fixes #1608
2018-07-06 21:57:18 +02:00
Oliver Smith 0aa125e45c Merge branch 'feature/qemu-alpine' into 'master'
Use Alpine's QEMU rather than host system QEMU (v2)

See merge request postmarketOS/pmbootstrap!1618
2018-07-06 19:50:59 +00:00
Oliver Smith f6dcfbfe56 Use Alpine's QEMU rather than host system QEMU (v2) 2018-07-06 19:50:59 +00:00
Oliver Smith 181d85044e
temp/virglrenderer: enable armhf, aarch64, x86 2018-07-06 21:47:56 +02:00
Wouter Franken 23eb57631b Removed fb-workaround in favor of msm-fb-refresher, this fixes the splashscreen (partly) 2018-07-05 23:50:48 +02:00
Oliver Smith 217c87b81a Merge branch 'revert-918f51b6' into 'master'
Revert "Merge branch 'alpine-qemu' into 'master'"

See merge request postmarketOS/pmbootstrap!1616
2018-07-05 17:28:42 +00:00
Oliver Smith 6e21c44342 Revert "Merge branch 'alpine-qemu' into 'master'"
This reverts merge request !1612
2018-07-05 17:25:14 +00:00
Oliver Smith 918f51b6b0 Merge branch 'alpine-qemu' into 'master'
Use Alpine's QEMU rather than host system QEMU

See merge request postmarketOS/pmbootstrap!1612

See also:
https://wiki.postmarketos.org/wiki/Troubleshooting:QEMU

Closes #1150
Closes #543
2018-07-05 17:09:29 +00:00
ryang 4b8048871a linux-postmarketos: Enable hypervisor and vmmouse configs for x86_64
The vmmouse driver makes the guest mouse as smooth as native. It is enabled
when running under a hypervisor such as kvm.
2018-07-04 14:11:47 -04:00
ryang 783df51047 linux-postmarketos-stable: regenerate configs for 4.16.0-rc6 2018-07-04 14:11:45 -04:00
ryang 19d824543f linux-postmarketos-mainline: regenerate configs for 4.16.2 2018-07-04 14:11:44 -04:00
Oliver Smith d2da6e41a8 Added touchscreen support to sony-coconut
See merge request postmarketOS/pmbootstrap!1614
2018-07-03 22:19:26 +00:00
Oliver Smith 62b7080c49 aports/kde: upgrade to KDE Plasma 5.13.2 release
Also includes a revert for the commit which broke the libinput devices
for consolekit session. I am still unsure of solution for both of the
problems to suggest upstream. But it is in my todo list.

Fixes #1585

See merge request postmarketOS/pmbootstrap!1613
2018-07-03 21:55:31 +00:00
Oliver Smith e0ece7b84d New device: Sony Xperia M (sony-nicki)
See merge request postmarketOS/pmbootstrap!1611
2018-07-03 21:45:17 +00:00
Konrad Dybcio 5133977921 [GitLab reopen] New device: Sony Xperia M (sony-nicki) 2018-07-03 21:45:17 +00:00
deata 7deb2e0d0f Added wifi support 2018-07-03 12:25:33 +03:00
praticamentetilde 179a607ced Updated package versions 2018-07-02 23:13:06 +02:00
praticamentetilde 1dfb8d8f56 Display for sony-coconut now works 2018-07-02 23:04:49 +02:00
deata dffccc4b52 Merge branch 'master' of https://gitlab.com/postmarketOS/pmbootstrap 2018-07-02 12:18:21 +03:00
Bhushan Shah 2a9484caa9 aports/kde: upgrade to KDE Plasma 5.13.2 release
Also includes a revert for the commit which broke the libinput devices
for consolekit session. I am still unsure of solution for both of the
problems to suggest upstream. But it is in my todo list.

Fixes #1585
2018-07-02 12:09:58 +05:30
Oliver Smith 70ef1506c4 devicepkg-dev kernel prepare function
See merge request postmarketOS/pmbootstrap!1570
2018-07-02 00:12:49 +00:00
Daniele Debernardi 5d383bc6ef devicepkg-dev kernel prepare function 2018-07-02 00:12:49 +00:00
ryang c650354fc3 qemu: Use Alpine's QEMU rather than host system QEMU
Use --host-qemu to use QEMU that is installed on the host system.
2018-07-01 19:39:02 -04:00
ryang ae12236a34 main/qemu: Override the pkver of upstream Alpine Linux. 2018-07-01 19:39:00 -04:00