mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
Create a gitignore file to ignore the build generated files for Ubuntu.
The build will also checkout the changelog files at the completion of the build so that we are able to switch releases for Ubuntu. This is caused by the build running in xcat-core instead of creating a build directory for each release, like Linux is doing.
This commit is contained in:
parent
8d957f8b11
commit
bf27f3c41d
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# Adding .gitignore files because debian builds are being done in the xcat-core
|
||||
# directory, causing issues when switching branches.
|
||||
#
|
||||
*debhelper.log
|
||||
*substvars
|
||||
*man1
|
||||
*man3
|
||||
*man5
|
||||
*man7
|
||||
*man8
|
||||
*.tmp
|
@ -476,6 +476,10 @@ __EOF__
|
||||
chgrp root $dep_tar_name
|
||||
chmod g+w $dep_tar_name
|
||||
|
||||
# remove the changes to changelog since the builds are occuring in xcat-core, will prevent
|
||||
# switching from branch to branch without a new clone of the repository
|
||||
find ./ -name "changelog" -print | xargs git checkout
|
||||
|
||||
if [ -n "$UP" ] && [ "$UP" == 0 ];then
|
||||
echo "No need to upload the dep packages"
|
||||
cd $old_pwd
|
||||
|
@ -1 +1,2 @@
|
||||
misc:Depends=
|
||||
perl:Depends=perl
|
||||
|
Loading…
x
Reference in New Issue
Block a user