Skip to content

Commit

Permalink
Remove trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
arichardson authored Feb 9, 2024
1 parent d072296 commit 40f4973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycheribuild/projects/disk_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@ def prepare_rootfs(self):
if self.include_swap_partition:
fstab_contents += "/dev/gpt/swap none swap sw 0 0\n"
fstab_contents += self.file_templates.get_fstab_template()
self.create_file_for_image("/etc/fstab", contents=fstab_contents,
self.create_file_for_image("/etc/fstab", contents=fstab_contents,
mode=0o644, show_contents_non_verbose=True)

# enable ssh and set hostname
# TODO: use separate file in /etc/rc.conf.d/ ?
rc_conf_contents = self.file_templates.get_rc_conf_template().format(hostname=self.hostname)
self.create_file_for_image("/etc/rc.conf", contents=rc_conf_contents,
self.create_file_for_image("/etc/rc.conf", contents=rc_conf_contents,
mode=0o644, show_contents_non_verbose=False)

cshrc_contents = self.file_templates.get_cshrc_template().format(SRCPATH=self.config.source_root,
Expand Down

0 comments on commit 40f4973

Please sign in to comment.