Skip to content
Snippets Groups Projects
  1. Feb 11, 2018
  2. Feb 10, 2018
  3. Feb 09, 2018
    • Pavel Machek's avatar
      Update unicsy-demo to 0.4.6 (#1215) · bca7fc20
      Pavel Machek authored
      bca7fc20
    • Oliver Smith's avatar
      Fix screwed up progress bars in Travis output (#1213) · 3fe75ddb
      Oliver Smith authored
      Right now, they appear on screen when using --details-to-stdout. This
      does not work well with Travis CI and screws up the log.
      
      Disabling the progress bars in abuild works just like Alpine does it in
      their Travis CI script: Exporting SUDO_APK as
      "abuild-apk --no-progress" instead of "abuild-apk".
      
      test_check_checksums.py: Run "pmbootstrap build_init" before building
      any packages, so it is a bit less verbose (downloading the APKINDEX
      files etc.). Later we run the build init code again (because we use
      --strict while building the packages), but then the APKINDEX files
      are already present. So overall the log is a bit shorter before the
      building starts. (It is still logged to the logfile, which gets
      printed on error anyway.)
      Unverified
      3fe75ddb
  4. Feb 06, 2018
  5. Feb 05, 2018
    • alive4ever's avatar
      Initial porting effort to Xiaomi Redmi 1S (armani) (#1204) · d0acbca4
      alive4ever authored
      The device is Xiaomi Redmi 1S, based on MSM8296 platform, with Qualcomm
      Snapdragon 400.  The kernel is from lineageOS (3.4.0). Some additional patches
      are needed for successful compilation. The screen dimension is 720x1280.
      
      The touchscreen device name is ft5x06_i2c. Use this name for udev
      instead of hardcoded device path. Also add a workaround for red
      screen weston by setting weston_pixman to 2
      The screen doesn't refresh. Enabling msm-fb-refresher as suggested.
      
      Add udev rule to indicate whether the device is in charging state.
      Green led indicates that the device is charging, whereas red light
      indicates that the device is discharging.
      
      For prima wlan module to work, an initialization procedure is needed (
      echo 1 > /dev/wcnss_wlan ), before loading the prima wlan module
      (wlan.ko). Also build the prima wlan as module. 
      
      Xiaomi Redmi 1S is using pronto wlan module, which needs some firmware
      to run. Add the required wifi firmware to enable the wifi interface.
      
      Add an openrc service to load wlan module after wcnss_service is
      initialized.
      d0acbca4
  6. Feb 03, 2018
  7. Feb 02, 2018
    • Daniele Debernardi's avatar
    • Oliver Smith's avatar
      Testsuite: Run UIs in Qemu and check running processes and more (#982) · 5e85d72c
      Oliver Smith authored
      * Testsuite: Run UIs in Qemu and check running processes (and other changes)
      
      * When `pmbootstrap qemu` gets killed, it now takes down the Qemu process with it
      * `test/check_checksums.py` got a new optional `--build` parameter, which makes
        it build all changed packages instead of just checking the checksums
      * We run this before running the testsuite now, so all changed packages get
        built before running tests (otherwise tests would hang without any output
        while a changed package is building)
      * New testcase, that zaps all chroots, installs a specific UI (xfce4 and
        plasma-mobile currently, easy to extend), runs it via Qemu and checks the
        running processes via SSH.
      * Version checking testcase: rewritten to include Alpine's testsuite file in
        our source tree, so we don't need to clone their git repo anymore. Now it
        is enabled for Travis.
      * All this gives us a nice 10% code coverage boost
      * Increased the `hello-world` pkgrel to verify that the Travis job is working.
      
      * Various fixes
      * Build device-packages for the device arch and don't raise an
        exception, but print a note if --ignore-depends is not specified
        and therefore the kernel gets installed, too.
      * Don't use --force when building in Travis (because abuild doesn't
        check the checksums then. Bug report on the way.)
      * Don't run the building process in the background, but wait for its
        completion
      * Exit with 1 when showing usage in check_checksums.py
      Unverified
      5e85d72c
  8. Feb 01, 2018
  9. Jan 31, 2018
    • Oliver Smith's avatar
      mkinitfs: Fail on missing depends / better usability in general (#1133) · 77701ac4
      Oliver Smith authored
      * Fail if mkbootimg/uboot-tools are not installed, but creating a
        boot.img file / u-boot legacy image was requested via deviceinfo
        (fixes #312)
      * Fail if /boot/dt.img is missing, but we have a qcdt device
      * Fail if the dtb file specified in deviceinfo does not exist
      * Fail if mkbootimg etc. exit with error code
      * Don't try to add the ext4 module into the initramfs. We always
        compile it into the kernel. Instead, kconfig_check makes sure it
        is enabled now. (fixes #1037)
      * Add a note that modprobe warnings can be ignored mostly
      Unverified
      77701ac4
    • Oliver Smith's avatar
      Fix pmbootstrap zap -m / various zap improvements (#1166) · 0f5056f6
      Oliver Smith authored
      zap -m:
      * APKINDEX parsing: parse the "origin" field as well, so we know
        where a subpackage comes from
      * pmbootstrap zap -m: properly delete all packages, that do not
        have an aport or where the aport has another version. This also
        works with subpackages now,
        we use the origin field to resolve it.
      * Only reindex when packages have been deleted in "zap -m"
      
      zap in general:
      * Show the amount of cleared up space after the deletion instead
        of "Done"
      * Print "Shutdown complete" to "pmbootstrap log" instead of stdout
        (we need to call it twice during zap now to get the space
        calculation right)
      * Add `--dry` argument to `pmbootstrap zap` (this was very useful
        for debugging) to list the packages/chroots that would get
        deleted
      * Roughly output the command that would get executed to delete
        files, so it's obvious what's going on in --dry mode. (% rm ...)
      Unverified
      0f5056f6
  10. Jan 29, 2018
  11. Jan 28, 2018
    • Oliver Smith's avatar
      Remove timestamp based rebuilds (#1174) · 3c59126b
      Oliver Smith authored
      If you want to build a package without changing the version number,
      please use `--force` from now on. For example:
      
          pmbootstrap build --force hello-world
      
      Prior to this commit, changes were detected automatically (timestamp
      based rebuilds). However, that feature does not work as expected with
      the binary package repository we have now, and depending on how you use
      git, it has never worked. Close #1167, close #1156, close #1023 and
      close #985. This commit also mentions --force when a package is up to date,
      but the user requested to build it.
      Unverified
      3c59126b
    • Pavel Machek's avatar
      Optional --rsync parameter for pmbootstrap install only copies the diff (#1151) · bdeec7a2
      Pavel Machek authored
      Should reduce wear of sd card. Example usage:
      pmbootstrap install --sdcard=/dev/mmcblk0 --no-fde --rsync
      More rsync output with pmbootstrap -v.
      bdeec7a2
  12. Jan 27, 2018
  13. Jan 25, 2018
  14. Jan 24, 2018
Loading