OBS-URL: https://build.opensuse.org/package/show/system:install:head/installation-images?expand=0&rev=1
This commit is contained in:
commit
79676a6fda
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
55
check-build.sh
Normal file
55
check-build.sh
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Copyright (c) 2004 SuSE Linux AG Nuernberg, Germany. All rights reserved.
|
||||||
|
#
|
||||||
|
|
||||||
|
function error {
|
||||||
|
echo
|
||||||
|
echo "error: $1"
|
||||||
|
echo
|
||||||
|
echo "build does not work on `hostname` for this package"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
mkdir -vp $BUILD_ROOT/looptest || exit 1
|
||||||
|
cd $BUILD_ROOT/looptest || exit 1
|
||||||
|
pwd
|
||||||
|
#
|
||||||
|
echo "Testing if this host is ok to build this package"
|
||||||
|
|
||||||
|
grep -q loop /proc/devices || error "no loop devices"
|
||||||
|
|
||||||
|
case `uname -m` in
|
||||||
|
i?86)
|
||||||
|
grep -q vfat /proc/filesystems || modprobe vfat
|
||||||
|
grep -q vfat /proc/filesystems || error "no vfat filesystem"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "-------------- Testing loop mount capability -----------------"
|
||||||
|
dd if=/dev/zero of=tmpfile bs=1024 count=200
|
||||||
|
echo "--------------------------------------------------------------"
|
||||||
|
mke2fs -F tmpfile
|
||||||
|
echo "--------------------------------------------------------------"
|
||||||
|
mkdir tmpdir
|
||||||
|
mount -text2 -o loop tmpfile $PWD/tmpdir
|
||||||
|
exit_code=$?
|
||||||
|
umount $PWD/tmpdir
|
||||||
|
rmdir $PWD/tmpdir
|
||||||
|
rm tmpfile
|
||||||
|
if [ $exit_code != 0 ]; then
|
||||||
|
echo "--------------------------------------------------------------"
|
||||||
|
error "Could not mount an ext2 fs over a loop device"
|
||||||
|
fi
|
||||||
|
echo "------------------- Testing finished -------------------------"
|
||||||
|
# Need this because check-build.sh does not have 32-bit mount available
|
||||||
|
# before setting up the chroot. Can be done at the start of %prep, but it's
|
||||||
|
# ok to just turn off all emulation builds for s390x for now:
|
||||||
|
if [ -x /usr/bin/s390x ]; then
|
||||||
|
CURRENT_ARCH=`arch`
|
||||||
|
KERNELARCH=`/usr/bin/s390x arch`
|
||||||
|
if [ "$CURRENT_ARCH" != "$KERNELARCH" ]; then
|
||||||
|
error "31-bit emulation of loop ioctls is broken, see bug 15872."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
echo "ok"
|
||||||
|
exit 0
|
3
installation-images-12.4.tar.bz2
Normal file
3
installation-images-12.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:caaa8e22e52171e4f07a885fb65b96ca18a7705f7469f7520da7e343dd6d5ced
|
||||||
|
size 175698
|
7061
installation-images.changes
Normal file
7061
installation-images.changes
Normal file
File diff suppressed because it is too large
Load Diff
3912
installation-images.spec
Normal file
3912
installation-images.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user