Commit Graph

453 Commits

Author SHA1 Message Date
Oliver Smith 1df0a6d2ed
Update musl-* to upstream 2017-08-31 01:14:08 +02:00
Oliver Smith db6491c679 Fix #475: Retry finding the install partitions (#479) 2017-08-30 18:58:51 +00:00
opendata26 c0bd6b53e9 Fix firmware-adreno and move it to firmware (#483) 2017-08-30 15:50:53 +02:00
clayton craft a9e5b362dc Implement zapping of apk packages with ver different than aports (466) (#474)
This adds a new option to `zap`: `-m / --mismatch-bins`

When set, any binary apks in the work directory packages folder will be
removed if their version differs from the version in the relevant
APKBUILD in aports.
2017-08-28 20:34:03 +00:00
clayton craft 946ba82cd4 [linux-postmarketos] update to 4.12.9 (#477) 2017-08-28 20:13:18 +00:00
Oliver Smith 25bad18830 Close #296: Add wiki links to repository warnings (#473)
Also update one wiki link, that pointed to the old wiki.
2017-08-27 14:00:53 +00:00
clayton craft 3942a06a2d Add -y/--assume-yes option to install (#450) (#467) 2017-08-26 15:50:04 +00:00
Oliver Smith ac91337cf1
Update musl-* to upstream 2017-08-26 12:47:56 +02:00
Attila Szöllősi b4e3eae1bb Fix shellcheck issue (#470) 2017-08-25 22:31:55 +00:00
clayton craft a0ca668bb4 Remove acpid package (#469)
This is no longer needed for handling events (I use BB's acpid),
and I have no plans to update/maintain it
2017-08-25 21:40:41 +00:00
Oliver Smith c33db6315e Fix #463: Ignore exit code from parted (#465)
Parted often succeeds, but then returns a non-zero exit code, because
it can not inform the kernel of the changes.
In most cases this is not even necessary, so it really should not
fail there.
When the error was fatal, pmbootstrap will crash shortly afterwards
when it tried to mount or run mkfs on the partition anyway.
2017-08-25 17:39:52 +00:00
drebrez 1b387a00cf Initial Huawei Ascend Y530 support (#462) 2017-08-25 15:47:32 +00:00
Oliver Smith e9a988e7fd
Update gcc-armhf and gcc-aarch64 to upstream 2017-08-24 23:15:14 +02:00
Attila Szöllősi fbe968f1ab Recovery installer zip (#404)
Supports flashing with TWRP and other Android recovery OS through adb sideload,
as well as exporting a generated recovery zip file.
See also:
https://github.com/postmarketOS/pmbootstrap/wiki/deviceinfo_flash_methods#recovery-mode-adb
2017-08-24 21:07:36 +00:00
SaiKarthik Karra 28fa7eeaf0 Add Xperia Z3C port (#448)
Booting works, SSH does not work yet (missing UDEVTMPFS?), screen does not work yet.
2017-08-24 17:35:46 +00:00
Martijn Braam 176352ee65 Added memory requirements to README (#454)
Please note that in case of #444 one GB for a full Ubuntu (which eats up several hundreds MB of RAM alone) + compiling in pmbootstrap was not enough, and that it was "enough" with 2 GB. So the actual value may be much lower.
2017-08-24 17:33:22 +00:00
drebrez 3358f2bb1b Add samsung-i9070 firmware package (#455)
Also change the arch of firmware-mozilla-flame's APKBUILD to "noarch".
2017-08-24 17:26:40 +00:00
clayton craft 54cc1d5a6e Fix issue with deviceinfo modules not loading in init (#451)
When modules are surrounded with quotes, modprobe seems to be treating
them as all one module and none of them are actually loaded.
On the N900, where a watchdog module MUST be loaded on boot, this
results in the device shutting down after 30 seconds. This commit
corrects this in init.sh.in
2017-08-23 17:05:05 +00:00
Pablo Castellano cd461a6bb4 linux-motorola-titan: fixed refresh rate (#449) 2017-08-23 16:41:40 +00:00
Pablo Castellano 3954883547 Write custom os-release (closes #324) (#439)
* Write custom os-release (closes #324)
* Return empty string instead of crashing when the directory is not a git repository
* Use https in homepage URL
2017-08-23 16:40:16 +00:00
Yuval Adam ad17254e86 Better Mozilla Flame device support (#435)
* No need to append DTB to kernel
* Remove kernel module build for now
* Add device-specific firmware package
* Add special partitions to fstab
* Fix typo in screen width
2017-08-21 19:38:11 +00:00
Pablo Castellano e68f54356b Yet another minor fixes PR (#395)
* postmarketos-splash: print filename to log file
* postmarketos-mkinitfs: removed old unused check
The variable name was wrong and never happened
https://github.com/postmarketOS/pmbootstrap/pull/395#pullrequestreview-56977439
2017-08-21 15:08:14 +00:00
Pablo Castellano 5eca2d9808 extract-dtb: update to v1.1 (#431) 2017-08-21 15:06:44 +00:00
Pablo Castellano 05fc3f453e Close #362: Add deviceinfo to initramfs (#394)
* Added deviceinfo to initramfs
* init.sh.in: removed @MODULES@ variable
* Add and describe new copy_files parameter for changing file mode bits
2017-08-20 19:45:26 +00:00
Oliver Smith 00b71dd881 Close #147: postmarketos-base: added udev rule / firmwareload.sh (#427)
See also:
https://github.com/postmarketOS/pmbootstrap/pull/374
2017-08-20 12:49:55 +00:00
Kevin Liu 963c9337d4 maguro: add wifi, framebuffer/weston, and touchscreen support (#425)
* Add maguro wifi support
* enable framebuffer and VT, WESTON STARTS
* make touchscreen work & fix merge conflict
Cherry-pick of lawl's commit, ed552e5d9272204c12f67bcb0401b3e08e57d35f.
2017-08-20 12:41:28 +00:00
indefini a0ba9895c3 If there is no resolv.conf, create an empty file. (#423) 2017-08-20 12:34:31 +00:00
Martijn Braam c536e4ea58 Add setting for device keymap for devices with keymaps (#379)
* Added rx51_us keymap to nokia n900
* Added keymap option to init
* Made install command run setup-keymap when neccesary
* Validate keymap on install
2017-08-19 21:40:20 +00:00
clayton craft c1a1f35239 Add osk-sdl, directfb, sdl2, tslib (#419)
The sdl2 package is forked from upstream Alpine and:
1) adds directfb video support
2) adds a patch to work around a compile issue when directfb is enabled
2017-08-19 16:50:59 +00:00
clayton craft 2d6f9befca Disable zap on init for new devices (#418)
The device chroot shouldn't exist yet anyways. Also add a 'device_exists'
variable that can be used to determine if the device entered earlier in
the init has a deviceinfo under aports/device/device-*
2017-08-19 16:04:53 +00:00
Oliver Smith c323f21ca5 (binary repo reated) Don't specify pkgnames from "provides" as dependencies (#416)
* Don't specify pkgnames from "provides" as dependencies

Always use the regular pkgname. That way, we avoid listing all
kinds of so: files as dependencies (because Alpine automatically
adds them as depends= to the package database). This fixes building
weston, and reproducing the build with `pmbootstrap challenge`.

Additional changes.
* Clear the parsed APKINDEX cache for the current pmbootstrap
  session after building a package
* Avoid rebuilding a package, in case it was already built due to
  circular dependencies
2017-08-19 12:52:11 +00:00
Oliver Smith dcdb4d6f3e
Fix #381: Completely disable Travis mail notifications 2017-08-19 03:35:28 +02:00
NotKit 689eb5c3c9 Fix APKBUILD attribute parsing when opening quote is followed by line break (#415)
his adds a check to continue attribute parsing when end_char is found
in the end of first line, but is present only once. Found in gtk+2.0 APKBUILD:
https://git.alpinelinux.org/cgit/aports/plain/main/gtk+2.0/APKBUILD
2017-08-19 01:15:28 +00:00
drebrez 795d41e058 Detect and resize root partition on QEMU (#414)
To increase the size of the partition you simply increase the size of the image using `truncate -s +200M /path/to/qemu.img` for example and then start QEMU.

More information:
https://github.com/postmarketOS/pmbootstrap/wiki/Common-Qemu-Notes#increase-partition-size
2017-08-18 22:39:32 +00:00
clayton craft 83b2b34e9d [RX51] Remove unneeded kernel cmdline options (#376)
Remove omapfb options since they are irrelevant now that we use omapdrm.
2017-08-18 21:43:31 +00:00
opendata26 e3cc9481c6 Add wifi and fix touchscreen on castor (#392)
* Add support for wifi and touchscreen on castor
* Various fixes
2017-08-18 21:20:53 +00:00
opendata26 a559c7e33f Add firmware-adreno package (#393)
* Add support for wifi and touchscreen on castor
* Various fixes
* Add firmware-adreno package
* Download firmware files
2017-08-18 21:13:38 +00:00
Oliver Smith 1c13ca4fd9 Fix #363: Omit /home/user when calculating system image size (#389)
* The system image size is now calculated as: root size - home size.
* New function in `pmb/helpers/other.py`: `folder_size()`, with a
  testcase.
* Instead of copying everything to the system image folder, and
  deleting the home folder afterwards, do not copy the home folder
  in the first place.
* Added `pmbootstrap -s` to skip generating the initramfs for faster
  debugging.
* Set the default value in the "are you sure, that your partition has
  at least..." to "y", so we can run `yes '' | pmbootstrap install`
  to make it run through the whole installation process.
* Increase full size to 120%, boot partition gets 15 MB free space now
2017-08-18 19:19:48 +00:00
Attila Szöllősi 2de2bd5bee Update sony-amami deviceinfo (#412) 2017-08-18 18:14:06 +00:00
clayton craft d0f09ca0d0 Resolve #361 by zapping existing chroots after init (#385)
This extends zap() to add a 'no_confirm' option (False by default), and
zap() is now called by init with no_confirm=True to automatically zap
any existing chroots after the user runs init. This helps insure that
what is installed in the chroots is exactly what the user expects after
setting options in init.

Additionally, we create `cache_http` to verify write access to the work
folder instead of `chroot_native`. So we can ask for zapping only if
no chroot folder exists.
2017-08-18 16:25:58 +00:00
PureTryOut 341c809874 telepathy-qt5: Add missing -dev to telepathy-farstream dependency (#408) 2017-08-18 15:57:58 +00:00
clayton craft 3324c268ca Fix #396: No root autologin except for weston (#407)
This commit disables root autologin for postmarketos-base and enabled
root autologin for postmarketos-ui-weston (since weston-launcher is not
built, weston can only be run by root).
2017-08-18 15:55:30 +00:00
Anton Lazarev fa3c21c1c3 Now with 100% more `pmbootstrap log`! (#406) 2017-08-17 23:27:06 +00:00
clayton craft c2eb77da18 [linux-postmarketos] Update to 4.12.8 (#401) 2017-08-17 16:20:22 +00:00
PureTryOut 3b6529dcf0 Added all missing makedepends, and removed some optional dependencies (#398)
* Added all missing makedepends, and removed some optional dependencies
* Made dbus-nox11-libs properly replace dbus-x11
* Add missing breeze-dev subpackage
2017-08-17 16:19:36 +00:00
Yuval Adam 7088c2d2f1 README refactoring (#367) 2017-08-16 20:45:31 +00:00
clayton craft 5144323137 Allow users to copy ssh pubkey to device (#387) 2017-08-16 17:30:38 +00:00
clayton craft 3800cd09f4 Do not modprobe loop if /dev/loop* exists (#391) 2017-08-15 18:10:04 +00:00
Oliver Smith ff9f2d620f Fix #271: properly resolve symlinks in all paths (#329)
I've replaced all instances in the code of `os.path.abspath`
with `os.path.realpath`, as this does the same as `abspath`
plus resolving symlinks.
See also: https://stackoverflow.com/a/40311142
2017-08-15 14:08:48 +00:00
clayton craft 2f8d589ed6 [linux-postmarketos] Update to 4.12.7 (#386) 2017-08-15 11:29:04 +02:00