Commit graph

503 commits

Author SHA1 Message Date
Blaž Hrastnik 7a20ef15ae Simplify dependencies via dnf builddep 2020-01-12 18:31:16 +09:00
Blaž Hrastnik b54ce70372 Merge fedora configs. 2020-01-12 18:28:31 +09:00
Blaž Hrastnik b905b1d797 Merge remote-tracking branch 'stolld/feature/pkg/fedora' into feature/pkg 2020-01-12 17:10:54 +09:00
Blaž Hrastnik 6cab438991 Stop building firmware, mark prebuilt releases as draft. 2020-01-12 13:53:35 +09:00
Blaž Hrastnik 2b323c976e Use a custom bot token that doesn't expire after an hour. 2020-01-10 23:09:31 +09:00
Blaž Hrastnik 7aa103599c Update to 5.4.10-arch1, use tar snapshots instead of full git clone. 2020-01-10 19:48:28 +09:00
Dorian Stoll 023ab95e36
Always update fedora container
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-10 11:24:22 +01:00
Dorian Stoll 6111ab9a4d
Use zstd for compressing the kernel package
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-10 11:22:22 +01:00
Blaž Hrastnik ee24ddfb6d Concurrency all the things! 2020-01-10 16:21:56 +09:00
Blaž Hrastnik 5daed056a3 Update the workflow, split into multiple steps. 2020-01-10 15:44:16 +09:00
Blaž Hrastnik 4c2c5bf397 Stop packaging configs. 2020-01-10 15:43:35 +09:00
Dorian Stoll 4a5b946cd8
fix decrypt
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-10 01:20:23 +01:00
Dorian Stoll ed51a11485
what
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-10 01:19:06 +01:00
Dorian Stoll 1a90928cd1
Fix another thing
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-10 01:17:23 +01:00
Dorian Stoll a4fac7dab0
Setup container
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 23:38:10 +01:00
Dorian Stoll 6054395918
Fix issues more
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 23:28:48 +01:00
Dorian Stoll 75483ab387
fix issue
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 23:26:36 +01:00
Dorian Stoll bd3bec81d7
Add workflow
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 23:24:48 +01:00
Dorian Stoll fe581136f7
Add secrets
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 23:23:18 +01:00
Dorian Stoll 361a970eda Add fedora packages
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-09 19:23:32 +01:00
Blaž Hrastnik ec0c9b8a9f Package signing. 2020-01-09 11:55:59 +09:00
Blaž Hrastnik 6aecec2e75 Add test Arch build 2020-01-09 09:16:04 +09:00
Blaž Hrastnik 96d6e78d7e Surface Go no longer needs the manual action. 2020-01-08 11:48:08 +09:00
Blaž Hrastnik 24bbf8e028 Add an override for surface-sam builtin modules. 2020-01-08 11:38:41 +09:00
Blaž Hrastnik dd4ed11b63 Update kernel build to 5.4.8-arch1 2020-01-08 11:38:25 +09:00
Blaž Hrastnik c90e438d2d Add a post install script for surface-config. 2020-01-08 11:38:25 +09:00
Blaž Hrastnik d83ae35c84 Use ./scripts/kconfig/merge_config.sh 2020-01-08 11:38:25 +09:00
Blaž Hrastnik 92f9d0fb7d Arch Linux package build files.
Experimenting with config & firmware packages that make setup.sh
obsolete.
2020-01-08 11:38:25 +09:00
Blaž Hrastnik f3669dbd58 Stop automatically installing packages. 2020-01-08 11:23:49 +09:00
Blaž Hrastnik cdfdf4ac56 Remove Surface Go and SP4 workarounds. (Fixes #37)
Surface Go nowadays works without the touchscreen workaround.

The SP4 rule will run on all devices, breaking IPTS on Surface Go for
example. Therefore we moved it to the device's quirk page, requiring the
user to manually add the file if necessary.
2020-01-08 11:23:40 +09:00
Blaž Hrastnik 3ca250a015
Merge pull request #22 from linux-surface/feature/setup-script
Setup script
2020-01-03 10:14:01 +09:00
Blaž Hrastnik cd0ea97ed4 Rephrase the hibernate explanation. 2020-01-03 10:13:20 +09:00
Blaž Hrastnik a53b87cf91 Delete snd-hda-intel.conf, SB2 works correctly without it nowadays. 2020-01-03 10:13:20 +09:00
Dorian Stoll 394b0d603b Use a single surface.rules file for udev
Using a single file with a generic names allows us to easily remove
rules later. If we use specialized filenames we couldn't easily remove
them, we would have to replace them with an empty file.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:13:20 +09:00
Dorian Stoll b184bf438d Make the sleep script executable by default
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:13:20 +09:00
Dorian Stoll 4f47a913ca Remove unloading of mwifiex from the sleep script
As of recently, this is handled in the kernel directly. I have been
running the patch + this script for some time and couldn't notice any
regressions.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:13:20 +09:00
Dorian Stoll 974707aa44 Improve readability of the sleep script a bit
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:13:20 +09:00
Blaž Hrastnik dbfbfc7d08 Update README
hibernate-over-suspend was removed and the old link just led to secure
boot.
2020-01-03 10:13:20 +09:00
Blaž Hrastnik fd51dbea70 Add a link to Matrix since it's probably easier to join than IRC. 2020-01-03 10:11:02 +09:00
Blaž Hrastnik d046546376 Remove soc-button-array.conf (was addressed upstream). 2020-01-03 10:11:02 +09:00
Blaž Hrastnik 5c8e3ed0e8 Stop replacing Suspend with Hibernate.
This should be done by the user manually, and probably by correctly
configuring lid actions etc. instead of overriding the targets.
2020-01-03 10:11:02 +09:00
Dorian Stoll 47209a7772 Allow running the script without sudo
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll daf69af19c Use systemd for Surface Go touch power management
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll d563c17422 Clean up the setup script a bit
* Removed redundant codepaths
* Fixed the output to appear nicer in the console

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 581bb34d5c Remove initramfs-tools config
This is a bit of a guess. I am not 100% sure if this has any impact. But I haven't
found any way to make it an independent config file (i.e. it doesn't overwrite a
default one), and it won't work on Arch or any non-debian distro anyways.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 2ffb1a8a5f Use conf.d for the NetworkManager config
This moves the parts of the NetworkManager config that appear to be important
to a surface-specific file in conf.d. That way, no config is overwritten when
installing the files.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 656439fbf6 Remove example X11 config
Same as with the pulseaudio configs: They are not needed and the setup script even
asks if you want to delete them.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 4ef8ec4007 Remove pulseaudio example files
Those don't seem to be neccessary - the setup script itself asks if you
want to delete them

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 8836218417 Remove udev rules for touchscreen / pen
With the revert of the HID changes that IPTS did, those rules are already dead,
since they rely on the "Touchscreen" / "Pen" suffix to detect devices. Those
are not added anymore, and since nothing seems to be broken, it should be safe
to remove them.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 3179ce3622 Removed systemd configs
They only contain values that are the default anyways, and potentially overwrite
custom stuff that was set by the user.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00