Skip to content

Instantly share code, notes, and snippets.

View santuari's full-sized avatar

Michele Santuari santuari

  • Ewo
  • Cortaccia
View GitHub Profile
@santuari
santuari / index.sh
Created June 27, 2018 14:22
Script to index the Ubuntu repository within a cdrom. This script may be used to add packages to a cdrom.
#!/bin/bash
#Variable to customize
GPG_NAME=key_id
GPG_PATH_PW=path_to_password
#Main is the default repo component, I added extras. It means that my deb in pool/extras will be added
REPONAME=(main extras)
ORIGIN="my company"
LABEL="my mirror"