FIXUP: Rename XXX to NOTE

This commit is contained in:
Alex Pyrgiotis 2025-03-11 17:15:24 +02:00
parent 606fbb7abb
commit 9d92fa1f12
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA
2 changed files with 3 additions and 3 deletions

View file

@ -185,7 +185,7 @@ RUN mkdir -p \
# Copy the /etc and /var directories under the new root directory. Also, # Copy the /etc and /var directories under the new root directory. Also,
# copy /etc/, /opt, and /usr to the Dangerzone image rootfs. # copy /etc/, /opt, and /usr to the Dangerzone image rootfs.
# #
# XXX: We also have to remove the resolv.conf file, in order to not leak any DNS # NOTE: We also have to remove the resolv.conf file, in order to not leak any DNS
# servers added there during image build time. # servers added there during image build time.
RUN cp -r /etc /var /new_root/ \ RUN cp -r /etc /var /new_root/ \
&& rm /new_root/etc/resolv.conf && rm /new_root/etc/resolv.conf

View file

@ -185,8 +185,8 @@ RUN mkdir -p \
# Copy the /etc and /var directories under the new root directory. Also, # Copy the /etc and /var directories under the new root directory. Also,
# copy /etc/, /opt, and /usr to the Dangerzone image rootfs. # copy /etc/, /opt, and /usr to the Dangerzone image rootfs.
# #
# XXX: We also have to remove the resolv.conf file, in order to not leak any DNS # NOTE: We also have to remove the resolv.conf file, in order to not leak any
# servers added there during image build time. # DNS servers added there during image build time.
RUN cp -r /etc /var /new_root/ \ RUN cp -r /etc /var /new_root/ \
&& rm /new_root/etc/resolv.conf && rm /new_root/etc/resolv.conf
RUN cp -r /etc /opt /usr /new_root/home/dangerzone/dangerzone-image/rootfs \ RUN cp -r /etc /opt /usr /new_root/home/dangerzone/dangerzone-image/rootfs \