Skip to content
Snippets Groups Projects
  1. Nov 27, 2020
    • Hannu Nyman's avatar
      scripts/feeds: silence git warning by selecting pull style · 2b1d92f1
      Hannu Nyman authored
      
      Silence the warning in git 2.27 about undefined fast-forward style
      in git pull. Define "ff-only" as the style.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      2b1d92f1
    • Paul Spooren's avatar
      build: use mkhash for IPK metadata checksums · e34f04f4
      Paul Spooren authored
      
      When setting the option IPK_FILES_CHECKSUMS the build system stores
      checksums of all package file as metadata. In combination with pkg_check
      this allows to see if a package is broken, e.g. caused by bad flash.
      
      To create those checksums the tool `sha256sum` were used while the rest
      of OpenWrt uses `mkhash`, a small & fast implementation of sha256. As
      the build system does not check the existence of `sha256sum` and the
      stderr output is moved to /dev/null, a situation where the option is
      enabled but no actual checksum are created may occur.
      
      Instead of adding `sha256sum` as a requirement, this replaces it with
      `mkhash sha256` and adapts the `sed` pipe command to fit spacing.
      
      CC: Xu Wang <xwang1498@gmx.com>
      CC: Michal Hrusecky <Michal@Hrusecky.net>
      
      Signed-off-by: default avatarPaul Spooren <mail@aparcar.org>
      e34f04f4
    • Daniel Golle's avatar
      umdns: update seccomp filter rules · 64cbfd1f
      Daniel Golle authored
      
      Add 'writev' syscall to list of allowed syscalls.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      64cbfd1f
    • Daniel Golle's avatar
      procd: update to git HEAD · 8cf0ac3f
      Daniel Golle authored
      
       3019f50 jail: leak less memory
       7e01453 jail: fix segfault on missing name and refactor
       5abee8f jail: fix and simplify userns uid/gid maps from OCI
       4ba72ec jail: relax /etc/resolv.conf creation
       db5ef86 jail: don't use NULL arguments for mount syscall
       19ac9df jail: don't fail if can't mount-bind /etc/resolv.conf
       acf36f2 jail: seteuid before clone(CLONE_NEWUSER)
       e40828f jail: fix typo in usage output
       b87984b jail: don't attempt to mount /sys with noatime
       b275b11 jail: enter existing cgroups namespace if given
       31e0a46 jail: properly initialize timens_fd
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      8cf0ac3f
    • Daniel Golle's avatar
      initramfs: switch to tmpfs to fix ujail · 7fd3c681
      Daniel Golle authored
      
      Hauke wrote:
      > We want to run some processes in the procd-ujail, this works when we
      > use a SquashFS image and an overlay file system, but when we use an
      > initramfs it does not work.
      > [...]
      > When we switch from initramfs to tmpfs, it is working, we added this
      > code to target/linux/generic/other-files/init to make [it] work.
      
      Move files to newly mounted tmpfs and then use switch_root to chroot
      into new rootfs and free initramfs.
      
      Suggested-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      7fd3c681
  2. Nov 26, 2020
  3. Nov 25, 2020
Loading