[opensuse-kernel] [PATCH] sequence-patch: No comments in .pc/applied-patches
sequence-patch: No comments in .pc/applied-patches Quilt does not handle comments in .pc/applied-patches, so do not list patches which could be applied reversed as comments in that file. Doing so causes "quilt applied" for example to return bogus results. --- scripts/sequence-patch.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/scripts/sequence-patch.sh +++ b/scripts/sequence-patch.sh @@ -153,6 +153,10 @@ apply_patches() { # Backup directory is no longer needed rm -rf $backup_dir + else + if $QUILT; then + echo "$PATCH" >> $PATCH_DIR/.pc/applied-patches + fi fi if ! $QUILT; then @@ -168,9 +172,6 @@ apply_patches() { break else echo "$SERIES_PFX$PATCH" >> $PATCH_DIR/series - if $QUILT; then - echo "$PATCH" >> $PATCH_DIR/.pc/applied-patches - fi rm -f $LAST_LOG fi -- Jean Delvare Suse L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (1)
-
Jean Delvare