You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to replace /etc/hosts by a link to a writeable storage, since we keep our rootfs readonly. Up to v15.0 this was no problem, builds were successfull.
With commit 2984e60 things changed: now we get a build error, when elbe tries to update /etc/hosts in rfs.py at
How can I replace /etc/hosts without getting a build error?
log of failing build:
[CMD] /usr/sbin/chroot /var/cache/elbe/019488fe-bb3e-726e-aee2-50b2ae52a07d/chroot chpasswd --encrypted
[ERROR]Build failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/elbepack/asyncworker.py", line 163, in execute
self.project.build(skip_pkglist=False,
File "/usr/lib/python3/dist-packages/elbepack/elbeproject.py", line 671, in build
self.build_cdroms(build_bin, build_sources, cdrom_size, tgt_pkg_lst=tgt_pkgs)
File "/usr/lib/python3/dist-packages/elbepack/elbeproject.py", line 462, in build_cdroms
env.seed_etc()
File "/usr/lib/python3/dist-packages/elbepack/rfs.py", line 333, in seed_etc
self.rfs.append_file('/etc/hosts',
File "/usr/lib/python3/dist-packages/elbepack/filesystem.py", line 338, in append_file
with self.open(path, 'a') as f:
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/elbepack/filesystem.py", line 85, in open
return open(self.fname(path), mode, opener=opener)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/elbe/019488fe-bb3e-726e-aee2-50b2ae52a07d/chroot/etc/hosts'
elbe control wait_busy /var/cache/elbe/019488fe-bb3e-726e-aee2-50b2ae52a07d failed!
elbe parselicence failed!
The text was updated successfully, but these errors were encountered:
We need to replace /etc/hosts by a link to a writeable storage, since we keep our rootfs readonly. Up to v15.0 this was no problem, builds were successfull.
With commit 2984e60 things changed: now we get a build error, when elbe tries to update /etc/hosts in rfs.py at
How can I replace /etc/hosts without getting a build error?
log of failing build:
The text was updated successfully, but these errors were encountered: