Home Home > GIT Browse
summaryrefslogtreecommitdiff
blob: 8c15a36c2b3c8d29c1cc4be3adef10ca99a507dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash

for arch in $(scripts/arch-symbols --list) ; do
    symbols="$(scripts/arch-symbols $arch)"
    for config in $(scripts/guards $symbols < config.conf) ; do
	config=${config#config/}
	flavor=${config#*/}
	echo "kernel-$flavor ($arch)"
	echo Provides:  $(scripts/guards $symbols $flavor p \
					 < rpm/old-packages.conf)
	echo Obsoletes: $(scripts/guards $symbols $flavor o \
					 < rpm/old-packages.conf)
	echo
    done
done