• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

postmarketOS / pmbootstrap / 4838
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/chroot-buildroot-architecture
DEFAULT BRANCH: master
Ran 27 Apr 2018 11:14PM UTC
Jobs 1
Files 81
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4838

push

travis-ci

ollieparanoid
Recreate device nodes in chroot after shutdown

Device nodes in the chroots get created in a tmpfs, so they can be
created even if the filesystem where the chroot resides does not
support device nodes (#1317). In "pmbootstrap shutdown" we umount the
`dev` folder, which means all device nodes that were created inside
this folder are gone. This commit changes the code to actually recreate
the device nodes when using the chroot again.

Details:
* move `pmb.chroot.init.create_device_nodes` to
  `pmb.chroot.mount.crete_device_nodes`
* don't call it in `pmb.chroot.init()` anymore, but in
  `pmb.chroot.mount_dev_tmpfs()`
* Create the `null` device as well (`apk --initdb` also creates it on
  `init`, but we don't call it after `shutdown`)

3249 of 4103 relevant lines covered (79.19%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4838.1 27 Apr 2018 11:14PM UTC 0
79.19
Travis Job 4838.1
Source Files on build 4838
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4838
  • 12c2a7e4 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc