/usr/src/linux-source-3.13.0/debian/scripts/control-create is in linux-source-3.13.0 3.13.0-73.116.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
. debian/debian.env
vars=$1
. $vars
if [ "$is_sub" = "" ]; then
flavour=$(basename $vars | sed 's/.*\.//')
stub=${DEBIAN}/control.d/flavour-control.stub
else
flavour=$(basename $vars .vars)
stub=${DEBIAN}/sub-flavours/control.stub
fi
cat $stub | grep -v '^#' | sed \
-e "s#FLAVOUR#$flavour#g" \
-e "s#DESC#$desc#g" \
-e "s#ARCH#$arch#g" \
-e "s#SUPPORTED#$supported#g" \
-e "s#TARGET#$target#g" \
-e "s#BOOTLOADER#$bootloader#g" \
-e "s#=PROVIDES=#$provides#g" \
-e "s#=CONFLICTS=#$conflicts#g"
|