Bug 254365 - net/cloud-init: Clean up post-patch
Summary: net/cloud-init: Clean up post-patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brad Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-17 17:38 UTC by Brad Davis
Modified: 2021-11-05 18:31 UTC (History)
4 users (show)

See Also:
andrey: maintainer-feedback+


Attachments
patch (3.06 KB, patch)
2021-03-17 17:38 UTC, Brad Davis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Davis freebsd_committer freebsd_triage 2021-03-17 17:38:43 UTC
Created attachment 223364 [details]
patch

Currently sed will just replace things at will (or not) and not show what is being replaced, so change this to a patch+replace so that the build will break if patching fails and can be investigated to make sure it is doing what is expected.

Also remove a ${RM} that does not actually do anything anymore.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2021-03-18 13:26:57 UTC
Approved by: lwhsu (ports)
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-03-18 18:00:52 UTC
A commit references this bug:

Author: brd
Date: Thu Mar 18 18:00:24 UTC 2021
New revision: 568752
URL: https://svnweb.freebsd.org/changeset/ports/568752

Log:
  net/cloud-init: Clean up post-patch

  PR:		254365
  Approved by:	Andrey Fesenko (maintainer), swills, lwhsu

Changes:
  head/net/cloud-init/Makefile
  head/net/cloud-init/files/patch-cloudinit_settings.py
  head/net/cloud-init/files/patch-setup.py
Comment 3 Brad Davis freebsd_committer freebsd_triage 2021-03-18 18:01:35 UTC
Thanks Andrey!