24 lines
749 B
Python
24 lines
749 B
Python
MIRRORS = [
|
|
{
|
|
'url': 'https://mirror.leaseweb.com/gentoo/'
|
|
}
|
|
]
|
|
|
|
def task_stage_download():
|
|
"""create a greeting file"""
|
|
prefix = 'releases/amd64/autobuilds/'
|
|
'https://mirror.leaseweb.com/gentoo/releases/amd64/autobuilds/latest-stage3.txt'
|
|
'https://mirror.leaseweb.com/gentoo/releases/amd64/autobuilds/current-stage3-amd64-systemd/stage3-amd64-systemd-20260510T170106Z.tar.xz'
|
|
return {
|
|
'actions': ['echo "Hello from doit" > hello.txt'],
|
|
'targets': ['hello.txt'],
|
|
'clean': True,
|
|
}
|
|
|
|
def task_stage_install():
|
|
return {
|
|
'actions': ["tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo"],
|
|
'targets': ['hello.txt'],
|
|
'clean': True,
|
|
}
|