Sorry, I did a wrong change. Need be CODENAME and not DI_CODENAME.
This commit is contained in:
parent
c6b6caf457
commit
f55bb17b13
|
@ -67,7 +67,6 @@ debian-cd (2.2.18) UNRELEASED; urgency=low
|
||||||
- Preprocess exclude files much like tasks files are. Closes: #247379
|
- Preprocess exclude files much like tasks files are. Closes: #247379
|
||||||
- Check if the missing debootstrap-required is not included on
|
- Check if the missing debootstrap-required is not included on
|
||||||
base_exclude.
|
base_exclude.
|
||||||
- Use DI_CODENAME variable to build debian-installer+kernel task.
|
|
||||||
|
|
||||||
-- Raphael Hertzog <hertzog@debian.org> Thu, 25 Mar 2004 07:33:23 +0100
|
-- Raphael Hertzog <hertzog@debian.org> Thu, 25 Mar 2004 07:33:23 +0100
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Generate a list of packages required for debian-installer
|
# Generate a list of packages required for debian-installer
|
||||||
# This script makes use of the following variables that need to be preset:
|
# This script makes use of the following variables that need to be preset:
|
||||||
# MIRROR, DI_CODENAME
|
# MIRROR, CODENAME
|
||||||
|
|
||||||
DATE=`date`
|
DATE=`date`
|
||||||
cat > debian-installer+kernel << EOF
|
cat > debian-installer+kernel << EOF
|
||||||
|
@ -39,13 +39,13 @@ lilo
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/bin/sed -n 's/Package: \(kernel-image-2.4.*-386\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-2.4.*-386\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
/bin/sed -n 's/Package: \(kernel-pcmcia-modules-2.4.*-386\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-pcmcia-modules-2.4.*-386\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
/bin/sed -n 's/Package: \(kernel-image-2.6.*-386\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-2.6.*-386\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
$MIRROR/dists/$CODENAME/main/binary-i386/Packages|/usr/bin/tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
@ -55,7 +55,7 @@ discover1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-alpha/Packages|grep -v 2.4.21 \
|
$MIRROR/dists/$CODENAME/main/binary-alpha/Packages|grep -v 2.4.21 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
@ -65,7 +65,7 @@ discover1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-hppa/Packages|tail -n4 \
|
$MIRROR/dists/$CODENAME/main/binary-hppa/Packages|tail -n4 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
@ -76,7 +76,7 @@ initrd-tools
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-ia64/Packages | grep 2.4 | tail -n 4 \
|
$MIRROR/dists/$CODENAME/main/binary-ia64/Packages | grep 2.4 | tail -n 4 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
@ -88,7 +88,7 @@ EOF
|
||||||
# Only include mips kernels that d-i base-installer installs.
|
# Only include mips kernels that d-i base-installer installs.
|
||||||
for subarch in r4k-ip22 r5k-ip22; do
|
for subarch in r4k-ip22 r5k-ip22; do
|
||||||
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-mips/Packages \
|
$MIRROR/dists/$CODENAME/main/binary-mips/Packages \
|
||||||
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
done
|
done
|
||||||
|
@ -101,7 +101,7 @@ EOF
|
||||||
# Only include mipsel kernels that d-i base-installer installs.
|
# Only include mipsel kernels that d-i base-installer installs.
|
||||||
for subarch in r3k-kn02 r4k-kn04; do
|
for subarch in r3k-kn02 r4k-kn04; do
|
||||||
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-mipsel/Packages \
|
$MIRROR/dists/$CODENAME/main/binary-mipsel/Packages \
|
||||||
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
done
|
done
|
||||||
|
@ -116,7 +116,7 @@ EOF
|
||||||
for subarch in powerpc-pmac powerpc-small-pmac powerpc-prep powerpc-chrp \
|
for subarch in powerpc-pmac powerpc-small-pmac powerpc-prep powerpc-chrp \
|
||||||
powerpc-chrp-rs6k apus; do
|
powerpc-chrp-rs6k apus; do
|
||||||
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
sed -n 's/Package: \(kernel-image-.*-.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-powerpc/Packages \
|
$MIRROR/dists/$CODENAME/main/binary-powerpc/Packages \
|
||||||
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
| grep -- "-$subarch$" | sort -n | tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
done
|
done
|
||||||
|
@ -128,7 +128,7 @@ discover1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
/bin/sed -n 's/Package: \(kernel-image-.*-sparc.*\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-.*-sparc.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-sparc/Packages \
|
$MIRROR/dists/$CODENAME/main/binary-sparc/Packages \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
@ -138,11 +138,11 @@ EOF
|
||||||
|
|
||||||
# Get all the 2.2 kernels
|
# Get all the 2.2 kernels
|
||||||
/bin/sed -n 's/Package: \(kernel-image-2.2.*\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-2.2.*\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-m68k/Packages | tail -n 6 \
|
$MIRROR/dists/$CODENAME/main/binary-m68k/Packages | tail -n 6 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
# Get the latest 2.4 kernel for amiga
|
# Get the latest 2.4 kernel for amiga
|
||||||
/bin/sed -n 's/Package: \(kernel-image-2.4.*-amiga\)$/\1/p' \
|
/bin/sed -n 's/Package: \(kernel-image-2.4.*-amiga\)$/\1/p' \
|
||||||
$MIRROR/dists/$DI_CODENAME/main/binary-m68k/Packages | tail -n 1 \
|
$MIRROR/dists/$CODENAME/main/binary-m68k/Packages | tail -n 1 \
|
||||||
>> debian-installer+kernel
|
>> debian-installer+kernel
|
||||||
|
|
||||||
cat >> debian-installer+kernel << EOF
|
cat >> debian-installer+kernel << EOF
|
||||||
|
|
Loading…
Reference in New Issue