|
|
@@ -30,21 +30,18 @@ testequalpolicy 100 500
|
|
|
testequalpolicy 990 500 -t now
|
|
|
|
|
|
sed -i aptarchive/Release -e 1i"NotAutomatic: yes"
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicy 100 1 -o Test=NotAutomatic
|
|
|
testequalpolicy 990 1 -o Test=NotAutomatic -t now
|
|
|
|
|
|
sed -i aptarchive/Release -e 1i"ButAutomaticUpgrades: yes"
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicy 100 100 -o Test=ButAutomaticUpgrades
|
|
|
testequalpolicy 990 100 -o Test=ButAutomaticUpgrades -t now
|
|
|
|
|
|
sed -i aptarchive/Release -e 's#NotAutomatic: yes#NotAutomatic: no#' -e '/ButAutomaticUpgrades: / d'
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicy 100 500 -o Test=Automatic
|
|
|
@@ -135,7 +132,6 @@ Pin-Priority: -1" > rootdir/etc/apt/preferences
|
|
|
rm rootdir/etc/apt/preferences
|
|
|
sed -i aptarchive/dists/backports/Release -e 1i"NotAutomatic: yes"
|
|
|
signreleasefiles
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicycoolstuff "" "1.0" 1 500 0 "" -o Test=NotAutomatic
|
|
|
@@ -164,7 +160,6 @@ testequalpolicycoolstuff "" "1.0" 1 990 600 "2.0~bpo1" -o Test=NotAutomatic -t s
|
|
|
rm rootdir/etc/apt/preferences
|
|
|
sed -i aptarchive/dists/backports/Release -e 1i"ButAutomaticUpgrades: yes"
|
|
|
signreleasefiles
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicycoolstuff "" "1.0" 100 500 0 "" -o Test=ButAutomaticUpgrades
|
|
|
@@ -211,7 +206,6 @@ setupaptarchive
|
|
|
|
|
|
sed -i aptarchive/dists/backports/Release -e 1i"NotAutomatic: yes"
|
|
|
signreleasefiles
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicycoolstuff "2.0~bpo1" "2.0~bpo1" 1 500 0 "" "2.0~bpo2" -o Test=NotAutomatic
|
|
|
@@ -220,7 +214,6 @@ testequalpolicycoolstuff "2.0~bpo1" "2.0~bpo2" 990 500 0 "" "2.0~bpo2" -o Test=N
|
|
|
|
|
|
sed -i aptarchive/dists/backports/Release -e 1i"ButAutomaticUpgrades: yes"
|
|
|
signreleasefiles
|
|
|
-rm rootdir/var/cache/apt/srcpkgcache.bin rootdir/var/cache/apt/pkgcache.bin
|
|
|
aptget update -qq
|
|
|
|
|
|
testequalpolicycoolstuff "2.0~bpo1" "2.0~bpo2" 100 500 0 "" "2.0~bpo2" -o Test=ButAutomaticUpgrades
|