# delete notes of upload
file.remove(Sys.glob(file.path(pbuilder_results,'*.upload')))
- # make mini-dinstall generate the skeleton of the archive
- ret = log_system('umask 002;mini-dinstall --batch -c',dinstall_config)
- if (ret != 0) {
- fail('failed to create archive')
- }
-
notice('R dependencies:',paste(pkg$depends$r,collapse=', '))
build_debian(pkg)
3. cran2deb needs a persistent cache outside of R's control. therefore, create
/var/cache/cran2deb, writable by whichever user(s) will run cran2deb.
-4. run: cran2deb update
-5. Try building a simple package: cran2deb build zoo
+4. add to /etc/rc.local:
+ # one mini-dinstall daemon for each apt repo
+ for sys in debian-i386 debian-amd64
+ do
+ mini-dinstall -c /etc/cran2deb/sys/$sys/mini-dinstall.conf
+ done
+ and execute.
+
+5. run: cran2deb update
+6. Try building a simple package: cran2deb build zoo
(The result will be in /var/cache/cran2deb/results/SYS)
allow_non-us_software = 1
run_dinstall = 0
run_lintian = 1
-post_upload_command = /usr/bin/mini-dinstall --batch -c /etc/cran2deb/sys/debian-amd64/mini-dinstall.conf
allow_unsigned_uploads = 1
allow_non-us_software = 1
run_dinstall = 0
run_lintian = 1
-post_upload_command = /usr/bin/mini-dinstall --batch -c /etc/cran2deb/sys/debian-i386/mini-dinstall.conf
allow_unsigned_uploads = 1