scripts/pisi-sandbox: Update dates, versions
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2009, TUBITAK/UEKAE
|
# Copyright (C) 2009-2011 TUBITAK/UEKAE
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by the
|
# under the terms of the GNU General Public License as published by the
|
||||||
@@ -84,8 +84,8 @@ def create_sandbox(output_dir, repository):
|
|||||||
chrun("/usr/bin/pisi cp")
|
chrun("/usr/bin/pisi cp")
|
||||||
chrun("/usr/bin/hav call baselayout User.Manager setUser 0 'Root' '/root' '/bin/bash' 'pardus' '' ")
|
chrun("/usr/bin/hav call baselayout User.Manager setUser 0 'Root' '/root' '/bin/bash' 'pardus' '' ")
|
||||||
|
|
||||||
# Now it is 2009 release
|
# Now it is 2011 release
|
||||||
file(os.path.join(output_dir, "etc/pardus-release"), "w").write("Pardus 2009\n")
|
file(os.path.join(output_dir, "etc/pardus-release"), "w").write("Pardus 2011\n")
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
run('umount %s/proc' % output_dir, ignore_error=True)
|
run('umount %s/proc' % output_dir, ignore_error=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user