Skip to content

admiral0/pacbuild

 
 

Repository files navigation

These are just quick notes about setting up an apple daemon.

After starting apple.py, it will create /var/lib/pacbuild/{apple,apple.db}.
apple.db is a sqlite3 database.

You'll probably want some initial data in there, so sqlite3
/var/lib/pacbuild/apple.db and execute these commands:

insert into arch (name) values ('i686');
insert into arch (name) values ('x86_64');

insert into user (name, password, email, type) values ('a', '0cc175b9c0f1b6a831c399e269772661', '[email protected]', 'submitter');

Note: the password in the table is an md5sum of the orignal password text. the
      simplest way to calculate this is the following:
       echo -n "password" | md5sum

insert into pacman_conf (name, data, arch_id) values ('core', '[core]
Server = ftp:https://ftp.archlinux.org/core/os/i686

[extra]
Server = ftp:https://ftp.archlinux.org/extra/os/i686
', 1);
insert into pacman_conf (name, data, arch_id) values ('testing', '[testing]
Server = ftp:https://ftp.archlinux.org/testing/os/i686

[core]
Server = ftp:https://ftp.archlinux.org/core/os/i686

[extra]
Server = ftp:https://ftp.archlinux.org/extra/os/i686
', 1);

insert into pacman_conf (name, data, arch_id) values ('core', '[core]
Server = ftp:https://ftp.archlinux.org/core/os/x86_64

[extra]
Server = ftp:https://ftp.archlinux.org/extra/os/x86_64
', 2);
insert into pacman_conf (name, data, arch_id) values ('testing', '[testing]
Server = ftp:https://ftp.archlinux.org/testing/os/x86_64

[core]
Server = ftp:https://ftp.archlinux.org/core/os/x86_64

[extra]
Server = ftp:https://ftp.archlinux.org/extra/os/x86_64
', 2);

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.8%
  • C 10.4%
  • D 0.8%