Compare commits

..

73 Commits

Author SHA1 Message Date
Vadim Trochinsky 0b2bb98172 browser 2025-05-14 11:32:06 +02:00
Vadim Trochinsky 6d74a02d25 Add browser package to list 2025-05-14 11:32:06 +02:00
Vadim Trochinsky 1029ad0fe6 Re-add ignore-ssl flag 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 2c97f72485 Export variable 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 0cc540c0cd test 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 4d60aaa1d4 Improved browser launcher 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 76950c8c11 Launch browser with new wrapper 2025-05-14 11:32:06 +02:00
Vadim Trochinsky e103f9bf6a Prototipo de oglive con X11 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 42aceb750f Fix environment variable name 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy ffa0803aab Enable SHM memory in oglive 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 958143f24f Disable chromium sandbox, makes execution as root possible 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 919b4c58c0 Fix udev for browser/wayland 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 7fdbcdea98 test 2025-05-14 11:32:06 +02:00
Vadim Trochinsky 5452786078 Add packages to support ogbrowser 2025-05-14 11:32:06 +02:00
Vadim Trochinsky 434cfb865e Change python3-xattr to python3-pyxattr -- that's the correct one 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy 0ca148775e Fix typo 2025-05-14 11:32:06 +02:00
Vadim vtroshchinskiy ed782169c2 Modificaciones para browser 2025-05-14 11:32:06 +02:00
Natalia Serrano 1ef837e053 Merge pull request 'refs #1789 include build date in VERSION.txt' (#7) from improve-version into main
Reviewed-on: #7
2025-03-31 15:10:44 +02:00
Natalia Serrano 1ee49dfd2c refs #1789 include build date in VERSION.txt 2025-03-31 15:09:39 +02:00
Nicolas Arenas 36652da35b Fix url to repo 2025-03-24 12:22:05 +01:00
Natalia Serrano 64bbb1d198 Merge pull request 'pull-from-cloning-engine' (#6) from pull-from-cloning-engine into main
Reviewed-on: #6
2025-02-27 12:16:23 +01:00
Natalia Serrano 1ee274bd0b refs #1614 fix whitespace 2025-02-27 12:12:57 +01:00
Natalia Serrano 5dfeffb6d6 refs #1614 remove useless copy--engine files are already under shared/ 2025-02-27 12:12:37 +01:00
Luis Gerardo Romero Garcia 149d3ffc39 refs #1345 changes git link of python-libfdisk 2025-01-20 13:54:58 +01:00
Natalia Serrano f42cd45239 Merge pull request 'deps-vadim' (#5) from deps-vadim into main
Reviewed-on: #5
2024-11-29 11:02:22 +01:00
Natalia Serrano 6a34ca68b1 refs #809 bump release 2024-11-29 11:01:26 +01:00
Natalia Serrano 1785456f43 refs #809 insist on our resolv.conf 2024-11-28 13:26:59 +01:00
Natalia Serrano 68c5a27075 refs #809 use apt.update() rather than shelling out, add spartlnx-32bit 2024-11-28 11:04:00 +01:00
Nicolas Arenas c9fa4eff93 Update resolv.conf 2024-11-27 18:09:04 +01:00
Nicolas Arenas 386a2a6175 Add extra packages for oggit 2024-11-27 18:05:56 +01:00
Nicolas Arenas da32d165a6 Added missing package 2024-11-26 08:51:23 +01:00
Nicolas Arenas 4101da8082 increase virtualfile system size 2024-11-26 02:21:13 +01:00
Nicolas Arenas 219c5dc45b Fix typo in directory name 2024-11-26 01:19:55 +01:00
Nicolas Arenas c97e352f1d Put certificate in ssl 2024-11-26 01:09:47 +01:00
Nicolas Arenas 419f983e50 Add debug message 2024-11-26 01:06:08 +01:00
Nicolas Arenas 2e8981fd19 UPdate certificates before install packages 2024-11-26 01:00:27 +01:00
Nicolas Arenas d6a3c4205b Running update before install 2024-11-26 00:58:15 +01:00
Nicolas Arenas 3abcad9776 Add extra packages to oggit section 2024-11-26 00:16:40 +01:00
Nicolas Arenas e2910b33e2 Add function to execute update certificates 2024-11-26 00:14:05 +01:00
Nicolas Arenas 7b51a04358 UPdte image to accept certificate for UMA environment 2024-11-26 00:10:28 +01:00
Natalia Serrano c4d1e23114 Revert "refs #809 debug init scripts"
This reverts commit 6dddc6ba8b.
2024-11-20 13:51:36 +01:00
Natalia Serrano ed1f58a287 Revert "refs #809 fix redir, change prefix of messages"
This reverts commit a2e12e6b6e.
2024-11-20 13:51:28 +01:00
Natalia Serrano 723a79f68e refs #809 add binary of old browser again 2024-11-20 13:39:44 +01:00
Natalia Serrano a2e12e6b6e refs #809 fix redir, change prefix of messages 2024-11-15 16:47:31 +01:00
Natalia Serrano 6dddc6ba8b refs #809 debug init scripts 2024-11-15 16:05:29 +01:00
Natalia Serrano 0e5d83c501 refs #809 bump version 2024-10-25 12:13:15 +02:00
Natalia Serrano 865470e03c refs #809 force pip to install things 2024-10-24 23:01:47 +02:00
Natalia Serrano 7467f991a6 refs #809 clean packages up a bit later 2024-10-24 22:56:27 +02:00
Natalia Serrano fe5645c30a refs #809 install pip 2024-10-24 22:50:55 +02:00
Natalia Serrano 7123d35179 refs #809 collaborate with the jenkins job 2024-10-24 22:45:32 +02:00
Natalia Serrano 567c8dcfb5 refs #809 collaborate with the jenkins job 2024-10-24 22:40:23 +02:00
Natalia Serrano 6b66424631 refs #809 collaborate with the jenkins job 2024-10-24 22:28:19 +02:00
Natalia Serrano 02b44a1d95 refs #809 collaborate with the jenkins job 2024-10-24 22:16:44 +02:00
Natalia Serrano dffb315879 refs #809 try to invalidate docker cache at a specific point 2024-10-24 21:50:46 +02:00
Natalia Serrano 1f695da3e4 refs #809 try to invalidate docker cache at a specific point 2024-10-24 12:13:26 +02:00
Natalia Serrano c1a9ff29b7 refs #809 install packages and a pip module, try to invalidate docker cache at a specific point 2024-10-24 11:55:52 +02:00
Natalia Serrano fe39c2d99f refs #953 do this change in a higher-level place, and use an underscore 2024-10-23 17:51:22 +02:00
Natalia Serrano 652fd3beb0 Merge pull request 'build-browser' (#4) from build-browser into main
Reviewed-on: #4
2024-10-17 19:10:44 +02:00
Natalia Serrano 2f745e8b43 refs #971 do not install binary of the old browser 2024-10-17 19:10:13 +02:00
Natalia Serrano c160c5c1eb refs #971 do not install binary of the old browser 2024-10-17 19:09:17 +02:00
Natalia Serrano 13b086f328 refs #975 postprocess the generated initrd 2024-10-17 17:49:13 +02:00
Natalia Serrano 48528a4c2f refs #928 install ogagent and ogbrowser debian packages 2024-10-16 20:04:09 +02:00
Natalia Serrano d6eb76f36b refs #953 improve versioning of the final iso file 2024-10-16 09:02:00 +02:00
Natalia Serrano f9a275e380 Merge pull request 'Don't use python APT module, install ogagent dependencies' (#3) from no-apt-module into main
Reviewed-on: #3
2024-10-03 14:14:05 +02:00
Natalia Serrano 2e092b0372 Merge pull request 'Disable IPv6 in oglive' (#2) from oglive-ipv6 into main
Reviewed-on: #2
2024-09-25 11:08:01 +02:00
Natalia Serrano 16de310ac8 refs #776 install ogagent dependencies 2024-09-24 13:03:32 +02:00
Natalia Serrano bfbc10a65b refs #773 do not use python apt module 2024-09-24 13:03:12 +02:00
Natalia Serrano 985d83fe5e Revert "refs #773 do not use python apt module"
This reverts commit a12001f84a.
2024-09-24 13:02:05 +02:00
Natalia Serrano 16482c60fd Revert "refs #776 install ogagent dependencies"
This reverts commit 3833919272.
2024-09-24 13:01:59 +02:00
Natalia Serrano 3833919272 refs #776 install ogagent dependencies 2024-09-24 13:01:05 +02:00
Natalia Serrano a12001f84a refs #773 do not use python apt module 2024-09-24 13:00:47 +02:00
Natalia Serrano e60695f847 refs #773 write a sysctl.conf 2024-09-24 12:52:06 +02:00
Natalia Serrano 62ee6e6c8a Merge pull request 'Translate the ogLive builder to python' (#1) from pybuilder into main
Reviewed-on: #1
2024-09-04 15:21:36 +02:00
5 changed files with 21 additions and 11 deletions

12
CHANGELOG.md 100644
View File

@ -0,0 +1,12 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.2.1] - 2025-03-31
### Changed
- Include build date in the final VERSION.txt

View File

@ -205,7 +205,7 @@ def debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp):
logger.info (f'debootstrap --arch="{osarch}" --components=main,universe "{oscodename}" "{btrootfsmnt}" "{oshttp}" : ok')
return 0
def copy_og_files (builder, og_shared, og_engine, ogclientmount, osdistrib, oscodename):
def copy_og_files (builder, og_shared, ogclientmount, osdistrib, oscodename):
logger.info ('Iniciando la personalización con datos del repositorio')
sources_list_in = f'{builder}/includes/etc/apt/sources.list.{osdistrib.lower()}'
@ -226,9 +226,8 @@ def copy_og_files (builder, og_shared, og_engine, ogclientmount, osdistrib, osco
os.makedirs (f'{ogclientmount}/usr/local/lib', exist_ok=True)
os.makedirs (f'{ogclientmount}/usr/local/plugins', exist_ok=True)
subprocess.run (f'rsync -aH {builder}/includes/* {ogclientmount}/' , shell=True)
subprocess.run (f'rsync -aH {og_shared}/* {ogclientmount}/opt/opengnsys/' , shell=True)
subprocess.run (f'rsync -aH {og_engine}/* {ogclientmount}/opt/opengnsys/lib/engine/bin/', shell=True)
subprocess.run (f'rsync -aH {builder}/includes/* {ogclientmount}/' , shell=True)
subprocess.run (f'rsync -aH {og_shared}/* {ogclientmount}/opt/opengnsys/', shell=True)
if not os.path.exists (f'{ogclientmount}/etc/pci.ids'):
shutil.copy (f'{og_shared}/lib/pci.ids', f'{ogclientmount}/etc/')
@ -240,7 +239,7 @@ def copy_og_files (builder, og_shared, og_engine, ogclientmount, osdistrib, osco
subprocess.run (f'rsync -aH {og_shared}/lib/qtplugins/* {ogclientmount}/usr/local/plugins', shell=True)
# Browser
if os.path.exists (f'{og_shared}/bin/browser'): shutil.copy (f'{og_shared}/bin/browser', f'{ogclientmount}/bin/')
if os.path.exists (f'{og_shared}/bin/browser'): shutil.copy (f'{og_shared}/bin/browser', f'{ogclientmount}/bin/')
def sysctl (btrootfsmnt):
logger.debug ('copiando sysctl.conf')

View File

@ -59,5 +59,5 @@ deb http://free.nchc.org.tw/ubuntu OSCODENAME-security main restricted universe
#deb-src http://ppa.launchpad.net/zfs-native/stable/ubuntu OSCODENAME main
deb [trusted=yes] https://ognproject.evlt.uma.es/debian-opengnsys/ OSCODENAME main
deb [trusted=yes] https://ognproject.evlt.uma.es/debian-opengnsys/opengnsys OSCODENAME main

View File

@ -1 +1 @@
OpenGnsys Client 3.2.0
OpenGnsys Client 3.2.1

View File

@ -77,8 +77,7 @@ def _copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename):
_mount_rootfs (btrootfsimg, btrootfsmnt)
builder = '/tmp/opengnsys/oglive_builder'
og_shared = '/tmp/opengnsys/shared'
og_engine = '/tmp/opengnsys/engine'
btog.copy_og_files (builder, og_shared, og_engine, btrootfsmnt, osdistrib, oscodename)
btog.copy_og_files (builder, og_shared, btrootfsmnt, osdistrib, oscodename)
utils.umount (btrootfsmnt)
def _chroot_tasks (cfgfile, curdir, osrelease, osarch):
@ -135,7 +134,8 @@ def _main (cfgfile, config, type_client):
_debootstrap (btrootfsimg, btrootfsmnt, osarch, oscodename, oshttp)
logger.info ('STAGE 2 - copy files to the rootfs')
_initramfs_version (gitrelease, osrelease, curdir)
today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d')
_initramfs_version (gitrelease+'_'+today, osrelease, curdir)
_copy_og_files (btrootfsimg, btrootfsmnt, osdistrib, oscodename)
logger.info ('STAGE 3 - perform tasks within the chroot')
@ -145,7 +145,6 @@ def _main (cfgfile, config, type_client):
logger.info ('STAGE 4 - generate distribution files')
pxepkg = _get_pxepkg()
today = datetime.datetime.now(datetime.timezone.utc).strftime ('%Y%m%d')
nameisoclient = '-'.join (['ogLive', oscodename, osrelease, osarch, gitrelease+'_'+today])
_mkinitrd_squashfs_isofs (bttargetdir, osrelease, btrootfsimg, btrootfsmnt, pxepkg, isolinux_tpl, nameisoclient)