[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] fix_overrides: handle addition of `-security` to suite names



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • b1b81fe7
    by Ansgar at 2023-03-09T00:10:16+01:00
    fix_overrides: handle addition of `-security` to suite names
    
    For bullseye and bookworm the suitename includes `-security` for the
    security archive. This suffix has to be removed when using the
    override files from ftp-master where the correspondig suites do not
    include this suffix.
    

1 changed file:

Changes:

  • config/debian-security/daily.functions
    ... ... @@ -9,13 +9,9 @@ function fix_overrides() {
    9 9
         done
    
    10 10
         find . -maxdepth 1 -mindepth 1 -type l -delete
    
    11 11
     
    
    12
    -    for suite in oldoldstable oldstable stable testing; do
    
    13
    -        case $suite in
    
    14
    -            oldoldstable|oldstable|stable|testing)
    
    15
    -                override_suite=$(dak admin suite-config get-value "${suite}" codename)
    
    16
    -                ;;
    
    17
    -            *) echo "Unknown suite type ($suite)"; exit 1;;
    
    18
    -        esac
    
    12
    +    for suite in oldoldstable oldstable stable-security testing-security; do
    
    13
    +        override_suite=$(dak admin suite-config get-value "${suite}" codename)
    
    14
    +        override_suite="${override_suite%-security}"
    
    19 15
             for component in $components; do
    
    20 16
                 for override_type in $override_types; do
    
    21 17
                     case $override_type in
    


  • Reply to: