Commit Graph

4 Commits

Author SHA1 Message Date
Ben Crocker e33f06c615 [redhat] scripts/configdiff.sh: Fix syntax flagged by shellcheck
SC2001: See if you can use ${variable//search/replace} instead.
SC2045: Iterating over ls output is fragile. Use globs.
SC2046: Quote this (command) to prevent word splitting.
SC2086: Double quote to prevent globbing and word splitting.
SC2162: read without -r will mangle backslashes.
SC2231: Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .

Also, change to #!/bin/bash so bash-isms won't be flagged, e.g.

SC2039: In POSIX sh, [[ ]] is undefined.

Signed-off-by: Ben Crocker <bcrocker@redhat.com>
2021-08-30 14:30:01 -04:00
Prarit Bhargava 901683b934 redhat: Change Makefile target names to dist-
The distribution specific Makefile target names begin with rh-.  Switch
them to be use the distro agnostic dist-.

rh-dist-git-test and rh-dist-git are renamed to dist-git-test and
dist-git.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>

v2: Update to include jcline's newly added docs
v3: Clean up rh-help and rh-full-help output.  I made all text conform
to 80 chars.
2021-08-30 10:50:11 -04:00
Jeremy Cline 9372dd8fa4 [redhat] Introduce a pending-fedora config directory tree
ARK plans to merge with Fedora and has therefore begun building the
Fedora configuration files.

The current ARK process generates defaults for new configuration options
in the redhat/configs/pending/ directory, and then generates commits
moving these configs to the redhat/configs/common/ directory which are
sent out for review. This is necessary because rebases are largely
automated, there needs to be a place to set defaults for new
configuration options that indicate they need human review.

This is problematic for Fedora because it enables a super-set of
ARK options, which in turn lead to options being exposed during rebases
that are not exposed for ARK. Thus, this adds a
redhat/configs/pending-fedora/ configuration directory where new options
for Fedora rebases are stored. This also renames the current pending/
directory to be pending-common/ in order to make the final destination
of configuration options clearer. Fedora still inherits configuration
options from common/ and pending-common/ so only settings specific to
Fedora are placed here.

There is no pending-ark/ directory at the moment because if, during
review, ARK needs a setting that differs from Fedora, the setting is
changed and manually moved into the ark/ directory.

Cc: Don Zickus <dzickus@redhat.com>
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2021-08-30 10:49:45 -04:00
Laura Abbott c8079d9d8b [initial commit] Add scripts
Various scripts used to support kernel building

Signed-off-by: Laura Abbott <labbott@redhat.com>
2021-08-30 10:49:08 -04:00