Project

General

Profile

« Previous | Next » 

Revision 9e2cd3a2

Added by koszko over 1 year ago

always use APT packages for amd64 architecture

View differences:

src/hydrilla/builder/local_apt.py
167 167
    spaces.
168 168
    """
169 169
    return f'''
170
Architecture "amd64";
170 171
Dir "{directory}";
171 172
Dir::State "{directory}/var/lib/apt";
172 173
Dir::State::status "{directory}/var/lib/dpkg/status";
......
290 291
    Set up a local APT, update it using the specified sources.list configuration
291 292
    and use it to download the specified packages.
292 293

  
293
    This function downloads a .deb file of the packages matching the current
294
    This function downloads .deb files of packages matching the amd64
294 295
    architecture (which includes packages with architecture 'all') as well as
295
    all theis corresponding source package files and (if requested) the debs
296
    all their corresponding source package files and (if requested) the debs
296 297
    and source files of all their declared dependencies.
297 298

  
298 299
    Return value is a list of names of all downloaded files.
tests/test_local_apt.py
253 253
    assert not apt_root.exists()
254 254

  
255 255
    expected_conf = {
256
        'Architecture':           'amd64',
256 257
        'Dir':                    str(apt_root),
257 258
        'Dir::State':             f'{apt_root}/var/lib/apt',
258 259
        'Dir::State::status':     f'{apt_root}/var/lib/dpkg/status',

Also available in: Unified diff